Add integration test framework

This commit is contained in:
2026-04-30 22:21:08 +02:00
parent 177fb971e4
commit 3bdccf2000
6 changed files with 90 additions and 1 deletions
+16
View File
@@ -13,5 +13,21 @@ In order to run the tests, run `make test`.
## Versioning
The current version is v0. Its source code lives in the `v0` directory.
## Testing
### Unit Tests
Run unit tests with:
```bash
make test
```
### Integration Tests
Integration tests compare the compiler output with expected C files.
To add a new integration test, create a new directory under `v0/integration_tests/` with `input.c2` and `expected.c` files.
Run integration tests with:
```bash
make integration-test
```
## Languages Specifications
See the specs directory for information on the actual language syntax.