The `run-tests.sh` script sets up a full environment for the integration tests. This includes starting Meilisearch (with a master key to enable authentication) and generating an ephemeral JWT secret. After the tests are run, the environment is cleaned up. ```sh just test just unit-tests just integration-tests ```
10 lines
144 B
Makefile
10 lines
144 B
Makefile
# vim: set et :
|
|
|
|
integration-tests:
|
|
./run-tests.sh --test=integration
|
|
|
|
unit-tests:
|
|
cargo test --lib
|
|
|
|
test: unit-tests integration-tests
|