Mike Gerwitz
95272c4593
This provides a test harness for running shell-based system tests. The first of such tests will be introduced in the following commit. This is done in place of integration tests written in Rust because it will invoke the final binary exactly as the user or build system (using TAMER) will, providing greater confidence. Besides, a lot of things are simply more convenient to do in shell. ...though some of you may debate that. DEV-13708 |
||
---|---|---|
.. | ||
README.md | ||
run-tests |
README.md
System and Integration Tests
Rust files in this directory will be recognized by Cargo and will be
automatically compiled and run by make check
.
Shell scripts prefixed with test-
will be recognized by our test harness
and run on make check
. These scripts should be preferred when confidence
in the system end-to-end is required, since they invoke the binaries just
the same as the user or build process would.
Unit and integration tests written in Rust are located alongside the modules
they test in ../src/
. Benchmarks are in
../benches
.