Skip to content

Commit

Permalink
Merge 7b97c27 into 498b63c
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed Oct 21, 2020
2 parents 498b63c + 7b97c27 commit ae57923
Show file tree
Hide file tree
Showing 8 changed files with 3,745 additions and 741 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build-travis-narrative:
sed -i 's/{{ if ne .Env.CONFIG_ENV "prod" }} true {{- else }} false {{- end }}/true/' src/config.json && \
jupyter notebook --version

test: test-backend test-frontend-unit test-frontend-e2e
test: test-backend test-frontend
@echo "done running backend and frontend test scripts"

# test-backend should use nose, or the like, to test our
Expand All @@ -49,20 +49,20 @@ test-backend:
sh $(BACKEND_TEST_SCRIPT)
@echo "done"

test-frontend:
TOKEN="$(token)" python test/unit/run_tests.py -u -i

# test-frontend-unit should use karma and jasmine to test
# each of the Javascript components of the Narrative.
# This is achieved through the grunt test invocation
test-frontend-unit:
@echo "running frontend unit tests"
python test/unit/run_tests.py
python test/unit/run_tests.py -u
@echo "done"

# test-frontend-e2e should use Selenium to perform an end-
# to-end test of the front end components, with a running
# Narrative system.
test-frontend-e2e:
@echo "running frontend end-to-end tests"
cd $(FRONTEND_TEST_DIR)
test-integration:
@echo "running integration tests"
TOKEN="$(token)" python test/unit/run_tests.py -i
@echo "done"

build-docs:
Expand Down
Loading

0 comments on commit ae57923

Please sign in to comment.