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

Think about a new unit testing framework #66

Open
maartenuni opened this issue Dec 6, 2023 · 0 comments
Open

Think about a new unit testing framework #66

maartenuni opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@maartenuni
Copy link
Contributor

maartenuni commented Dec 6, 2023

psylib is currently using CUnit for unit tests (https://cunit.sourceforge.net/) which works, but is quite old and not actively supported anymore.

A potentially handy alternative is: µunit (https://nemequ.github.io/munit/)
One of the nice features of the last is, it doesn't only show that an assert has failed, it also shows the values.
Additionally, you'll only have to add munit.c and munit.h and your done, so you can add the sources, use a git submodule, or finally munit may be wrapped using meson

@maartenuni maartenuni added the enhancement New feature or request label Dec 6, 2023
@maartenuni maartenuni self-assigned this Dec 6, 2023
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