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

Develop a reliable testing setup #234

Open
3 tasks
walkero-gr opened this issue Dec 23, 2024 · 2 comments
Open
3 tasks

Develop a reliable testing setup #234

walkero-gr opened this issue Dec 23, 2024 · 2 comments

Comments

@walkero-gr
Copy link
Contributor

We have a few test scripts in the repository, but a lot of them are not compilable or crash.
We need to fix them to compile and run successfully. This will help in easily testing major changes.

We need to

  • make all the current tests compile without issues
  • add more info in the tests which parts of the library it tests
  • make them run successfully

If any of the tests require further adjustments in clib4, we need to create new issues for each failing test.

@afxgroup
Copy link
Collaborator

Which errors you have compiling tests? However that tests are just there to see if new functions are implemented correctly or not. No exe is returning something like FAIL or OK if the test is expected to work because it is not a test suite.
If you want a test suite you should see how google tests works and implement something like that solution. Also modern C libs doesn't seems to have a complete test suite but only tests for bugs

@afxgroup
Copy link
Collaborator

I've fixed all test programs problem now make just "works"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants