Skip to content
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

Add unit test example for sample_lib #9

Closed
jphickey opened this issue Nov 21, 2019 · 0 comments · Fixed by #11 or #16
Closed

Add unit test example for sample_lib #9

jphickey opened this issue Nov 21, 2019 · 0 comments · Fixed by #11 or #16
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jphickey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The SAMPLE library does not implement any unit test. Actual CFE libraries would typically need to do this.

Describe the solution you'd like
A unit test should be implemented to provide a template for implementing a library unit test (code coverage) using the current framework.

Additional context
The unit test for an application (e.g. in sample_app, as in nasa/sample_app#21) is slightly different, as the application typically would not need to expose stubs but a library would. Therefore both sample_app and sample_lib should implement unit tests.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Nov 21, 2019
jphickey added a commit that referenced this issue Nov 21, 2019
Implements a coverage test for sample_lib code as well
as a stub library to facilitate unit test of external
code that calls functions within sample_lib.
jphickey added a commit that referenced this issue Nov 21, 2019
Implements a coverage test for sample_lib code as well
as a stub library to facilitate unit test of external
code that calls functions within sample_lib.
@skliper skliper added the enhancement New feature or request label Dec 18, 2019
@skliper skliper added this to the 1.2.0 milestone Dec 18, 2019
jphickey added a commit that referenced this issue Mar 13, 2020
Implements a coverage test for sample_lib code as well
as a stub library to facilitate unit test of external
code that calls functions within sample_lib.
jphickey added a commit that referenced this issue Mar 13, 2020
Implements a coverage test for sample_lib code as well
as a stub library to facilitate unit test of external
code that calls functions within sample_lib.
astrogeco added a commit that referenced this issue Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants