Azure / Azure/umock-c

umock_c is not aware yet of the new DEFINE_ENUM macro with implicit _INVALID

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

Description

... and because of that, stringification of enums does not happen properly.

Can say "out of bounds value" for an enum.

Either will print some other value than the intended one.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by tracing enum stringification and the DEFINE_ENUM macro in umock_c, then reproduce an out-of-bounds enum value and confirm that the intended string is returned rather than another value.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.