Azure / Azure/umock-c

REGISTER_GLOBAL_MOCK_RETURNS and MOCKABLE_FUNCTION_WITH_RETURNS

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

Description

Will always return the value from MOCKABLE_FUNCTION_WITH_RETURNS :( for the "positive" case.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the interaction between REGISTER_GLOBAL_MOCK_RETURNS and MOCKABLE_FUNCTION_WITH_RETURNS described in the issue, then locate their macro implementations and existing tests. Confirm the positive case currently returns the value from MOCKABLE_FUNCTION_WITH_RETURNS, and define done as returning the expected positive-case value without regressing related mock behavior.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.