-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete coverage test for src/sb #471
Comments
skliper
changed the title
Incomplete unit test for src/sb
Incomplete coverage test for src/sb
Jan 11, 2021
jphickey
added a commit
to jphickey/cFE
that referenced
this issue
Jul 15, 2021
Add test cases to exercise all functions, lines, and branches to the extent reasonably possible. Improves the coverage stats significantly. Remaining uncovered lines/branches are not possible to be reached due to the way the code is structured, or because it would require an alternate implementation of SBR (note that SB+SBR are currently tested as a single unit, even though they are technically separate modules now).
jphickey
added a commit
to jphickey/cFE
that referenced
this issue
Jul 15, 2021
Add test cases to exercise all functions, lines, and branches to the extent reasonably possible. Improves the coverage stats significantly: functions 98.9% -> 100% lines 96.4% -> 99.8% branches 87.1% -> 94.9% Remaining uncovered lines/branches are not possible to be reached due to the way the code is structured, or because it would require an alternate implementation of SBR (note that SB+SBR are currently tested as a single unit, even though they are technically separate modules now). For example, the "direct" SBR implementation cannot have collisions, hence the collision handling in SB cannot be reached. Making stubs for SBR may allow this to be tested.
paulober
pushed a commit
to paulober/cFE
that referenced
this issue
Aug 1, 2021
Add test cases to exercise all functions, lines, and branches to the extent reasonably possible. Improves the coverage stats significantly: functions 98.9% -> 100% lines 96.4% -> 99.8% branches 87.1% -> 94.9% Remaining uncovered lines/branches are not possible to be reached due to the way the code is structured, or because it would require an alternate implementation of SBR (note that SB+SBR are currently tested as a single unit, even though they are technically separate modules now). For example, the "direct" SBR implementation cannot have collisions, hence the collision handling in SB cannot be reached. Making stubs for SBR may allow this to be tested.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Current coverage: 99.7 %
Missing code coverage for the following:
cfe_sb_api.c
CFE_SB_SetPipeOpts
CFE_SB_SendMsgFull
cfe_sb_task.c
CFE_SB_TaskMain
CFE_SB_AppInit
Requester Info
Anh Van, NASA Goddard
The text was updated successfully, but these errors were encountered: