Azure / Azure/umock-c

umock_c should have a way to inspect calls made.

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
enhancement up for grabs
Dominant language
C
Stars
36
Forks
27
Avg merge
32m
Merged PRs (30d)
3

Description

Assume there's 2 modules, A and B. A calls B's B_do_something_async providing some callback and context.

In real world, B would call back.

In tests, there's no (easy) way to make the callback.

umock_c needs to improve on that.

Best Regards,
Andrei Porumb

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the umock_c API and tracing how a call such as B_do_something_async is represented in tests. Define the expected inspection and callback behavior for the supplied callback and context, then add focused tests showing that a test can retrieve the call and trigger the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.