Skip to content

Commit

Permalink
Extra tests (#1362)
Browse files Browse the repository at this point in the history
* Adding extra directive to Makefile

* Submoduling extra tests

* Updating extra tests
  • Loading branch information
umbernhard authored Dec 6, 2021
1 parent d167e09 commit 153822b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "server/tests/arlo-extra-tests"]
path = server/tests/arlo-extra-tests
url = [email protected]:votingworks/arlo-extra-tests
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,18 @@ test-client:
yarn --cwd client test

test-server:
poetry run pytest -n auto
poetry run pytest -n auto --ignore=server/tests/arlo-extra-tests

test-server-coverage:
poetry run pytest -n auto --cov=.
poetry run pytest -n auto --cov=. --ignore=server/tests/arlo-extra-tests

# This runs all tests. If you have the extra files repo included, it runs those as well.
test-server-extra:
poetry run pytest -n auto

test-server-extra-coverage:
poetry run pytest -n auto --cov=.


run-dev:
./run-dev.sh
1 change: 1 addition & 0 deletions server/tests/arlo-extra-tests
Submodule arlo-extra-tests added at da8613

0 comments on commit 153822b

Please sign in to comment.