Azure / Azure/umock-c

WTB .CaptureArgumentValueAlways or some other modifier

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
36
Forks
27
Avg merge
32m
Merged PRs (30d)
3

Description

At the moment, .CaptureArgumetnValue will capture argument values when the mockable function will match its expected call.

If it doesn't match, then no argument capture is performed.

I believe arguments are interesting to be captured also when the actual call does not match the expected call. Maybe a different modifier?

Best Regards,
Andrei Porumb

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by locating the .CaptureArgumentValue implementation and its matching behavior, then determine how the requested always-capture behavior should be represented. Done means argument values are captured even when the actual call does not match the expected call, with coverage for the chosen modifier or alternative.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.