-
Notifications
You must be signed in to change notification settings - Fork 209
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
Decouple SB and SBR in coverage tests #1462
Comments
Note original issue was #962, closed in favor of this one. |
Note that the fact that SB and SBR are coupled together during coverage test means certain features of SB might not be reachable in the coverage test. As noted in #1668, collisions are not possible when linked with the "direct" SBR implementation, so collision handling in SB cannot be covered: cFE/modules/sb/fsw/src/cfe_sb_api.c Lines 1125 to 1130 in 2afdbc1
Splitting SBR from SB for coverage test, and providing stubs for SBR functions (like other modules) would likely improve coverage test capability. |
Is your feature request related to a problem? Please describe.
Currently the SB coverage test is not like the others in that it links with the real SBR sub-module, rather than a stub version. This becomes evident when generating the stubs as in #1417
Describe the solution you'd like
Additional context
Per the system architecture/design, Each sub-module should be individually coverage tested, using stubs for all other modules. This is an exception to that general design because SBR does not have proper stub functions for testing dependencies in isolation (e.g. SB in this case) like all other modules do.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: