2024-04-21 22:28:35 +00:00
|
|
|
# Testing
|
|
|
|
|
|
|
|
## Complement
|
|
|
|
|
|
|
|
Have a look at [Complement's repository][complement] for an explanation of what
|
|
|
|
it is.
|
|
|
|
|
|
|
|
To test against Complement, with Nix and direnv installed and set up, you can
|
|
|
|
either:
|
|
|
|
|
2024-04-23 21:59:15 +00:00
|
|
|
* Run `./bin/complement "$COMPLEMENT_SRC" ./path/to/logs.jsonl ./path/to/results.jsonl`
|
2024-04-21 22:28:35 +00:00
|
|
|
to build a Complement image, run the tests, and output the logs and results
|
|
|
|
to the specified paths
|
|
|
|
* Run `nix build .#complement` from the root of the repository to just build a
|
|
|
|
Complement image
|
|
|
|
|
|
|
|
[complement]: https://github.com/matrix-org/complement
|