Add an E2E test suite
This commit is contained in:
14
Justfile
14
Justfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user