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

use cmocka for stubs #383

Open
CDKnightNASA opened this issue Mar 24, 2020 · 0 comments
Open

use cmocka for stubs #383

CDKnightNASA opened this issue Mar 24, 2020 · 0 comments
Assignees
Labels
enhancement unit-test Tickets related to the OSAL unit testing (functional and/or coverage)

Comments

@CDKnightNASA
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The cmocka (https://cmocka.org) framework provides much the same functionality as our unit test stub framework, and is Apache licensed. I suggest we replace our stub framework with cmocka (and contribute any required capabilities to the cmocka project if it doesn't currently cover all our needs.)

Describe the solution you'd like
Use cmocka.

Describe alternatives you've considered
I'm sure there are lots of other unit test frameworks. cmocka seems simple, capable, and easy to incorporate into cFS.

Additional context
Add any other context about the feature request here.

Requester Info
Christopher.D.Knight@nasa.gov

@CDKnightNASA CDKnightNASA self-assigned this Mar 24, 2020
@skliper skliper added the unit-test Tickets related to the OSAL unit testing (functional and/or coverage) label Sep 1, 2020
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022
jphickey pushed a commit to jphickey/osal that referenced this issue Aug 10, 2022


Fixes nasa#379, Fixes nasa#380, Fixes nasa#383, Fixes nasa#384,
Fixes nasa#385, Fixes nasa#392
Code reviewed and approved at 20191106 and 20191113 CB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement unit-test Tickets related to the OSAL unit testing (functional and/or coverage)
Projects
None yet
Development

No branches or pull requests

2 participants