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

Improve unit test coverage #9

Open
jchabloz opened this issue Mar 31, 2024 · 0 comments
Open

Improve unit test coverage #9

jchabloz opened this issue Mar 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jchabloz
Copy link
Owner

jchabloz commented Mar 31, 2024

The verification coverage at unit level should be improved. More specifically, error cases (e.g. a NULL pointer is returned) are mostly not covered yet. In order to ease the unit test verification for thoses cases, mock / fake functions should be used.
The current unit test framwork used is CUnit and coverage figures are gathered using lcov.
It is proposed to use Fake function framework for the purpose of using fakes.

@jchabloz jchabloz added the enhancement New feature or request label Mar 31, 2024
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
Development

No branches or pull requests

1 participant