diff --git a/README.md b/README.md index 27dc43dc..dcd9b39b 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,10 @@ The CI service is available in the `relationapi` service * Merge from Develop to Main * Draft a release using semantic versioning (e.g 1.2.3) by creating a tag with the target of Main * Ensure release notes are updated manually and/or by AutoGenerate Release Notes + +## Testing + +To run tests: +``` +make test +``` \ No newline at end of file diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 6dff8759..09c531f7 100644 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -16,8 +16,10 @@ sh /app/scripts/start_server.sh & coverage erase # spec validation python -m spec.validate +# wait for the RE service to be up so integration tests can pass +python -m relation_engine_server.utils.wait_for api # run importer/, relation_engine_server/, and spec/ tests coverage run --branch -m pytest -# RE client tests +# RE client tests - seemss like these tests were already run in the line above, why run them again? PYTHONPATH=client_src python -m pytest client_src/test coverage html --omit=*/test_*