Separate unit tests and integration tests (#1393)

Fixes #1391
This commit is contained in:
Alex Kremer
2024-05-07 15:12:48 +01:00
committed by GitHub
parent 98ef83d470
commit cbc856b190
177 changed files with 168 additions and 106 deletions

9
tests/unit/README.md Normal file
View File

@@ -0,0 +1,9 @@
# Unit testing
The correctness of new implementations can be verified via running unit tests. Below are the information on how to run unit tests.
## Running
To run the unit tests, first build Clio as normal, then execute `./clio_tests` to run all unit tests.
# Adding Unit Tests
To add unit tests, please create a separate file for the component you are trying to cover (unless it already exists) and use any other existing unit test file as an example.