Azure / Azure/umock-c

umock_c_negative_tests_fail_call(i); should call umock_error when the call cannot be failed

Open
#88 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 umock_c_negative_tests_fail_call(i); will waltz unhindered doing "magic" if the "i"th call cannot be failed (such is the case of void functions).

umock_c_negative_tests_fail_call(i) shoul call umock_c_error hook in this case.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the implementation and existing tests for umock_c_negative_tests_fail_call(i), then trace how the umock_c_error hook is invoked. Reproduce the void-function case and verify that attempting to fail an un-failable call invokes umock_c_error instead of proceeding silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.