Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
QUERY_TESTING_FILE = spec/test/stored_queries/test_query.py

.PHONY: test reset full_query_testing sampling_query_testing
.PHONY: test reset full_query_testing sampling_query_testing graph_query_testing

test:
docker-compose build
Expand All @@ -21,3 +21,12 @@ full_query_testing:

sampling_query_testing:
DO_QUERY_TESTING=sampling time python -m pytest -s $(QUERY_TESTING_FILE)

compare_query_testing:
DO_QUERY_TESTING=compare time python -m pytest -s $(QUERY_TESTING_FILE)

graph_query_testing:
# invocation example:
# make graph_query_testing data_new_fp="tmp/blah.json" data_old_fp="tmp/bleh.json"
# where `data_new_fp` and `data_old_fp` are generated by `make compare_query_testing`
DO_QUERY_TESTING=graph python $(QUERY_TESTING_FILE) $(data_new_fp) $(data_old_fp)
2 changes: 0 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ coverage==5.2.1
typed-ast>=1.4.0
black==20.8b1
pytest==6.2.5
python-arango==5.4.0
numpy==1.21.2
Loading