Add an E2E test suite

This commit is contained in:
2021-11-29 00:33:23 +01:00
parent f02a0fc17a
commit d0b78686e2
11 changed files with 1596 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ release:
install:
cargo install --path .
test: test-unit test-integration
test: test-unit test-integration test-e2e
test-unit:
cargo test --lib --bins
@@ -20,6 +20,18 @@ test-unit:
test-integration:
cargo test --test "*"
e2e-venv:
cd ./e2e_tests \
&& python3 -m venv venv \
&& . ./venv/bin/activate \
&& pip --disable-pip-version-check install -r ./requirements.txt >/dev/null
test-e2e: e2e-venv release
cd ./e2e_tests \
&& . ./venv/bin/activate \
&& python -m pytest .
update-dependencies:
@cd ./depcheck \
&& python3 -m venv ./venv \