Skip to content

Conversation

@vklachkov
Copy link
Contributor

The project has become complex enough that making changes without tests is no longer feasible. The old approach of building a binary for testing was not ideal due to the lack of filters, test statistics, and overall inconvenience. In contrast, writing tests with Criterion is very pleasant and straightforward :)

This PR migrates api_test.c to use the Criterion framework. It also adds configuration parameters for VSCode to fix the C/C++ plugin errors about missing files. Furthermore, the README.md file is updated with the correct commands for building and running the tests.

@vklachkov vklachkov mentioned this pull request Jan 15, 2026
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

Successfully merging this pull request may close these issues.

1 participant