Commit df1e8e5a authored by flothoni's avatar flothoni
Browse files

Makefile, add rules for cypress testing

parent cb6cf2b6
......@@ -55,6 +55,27 @@ functional_server:
headless_server:
$(MAKE) -C server headless
###############################
### Browser tests WITH CYPRESS
build_cypress_image:
docker build ./docker/ci -t "vidjilci/cypress_with_browsers:latest"
functional_browser_cypress_open:
# Need to create a symbolic link; but allow to directly see
# Usefull for debugging
cypress open --env workdir=$(PWD),host=local
functional_browser_cypress:
docker run \
-v $(PWD)/browser/test/cypress:/app/cypress \
-v $(PWD)/browser/test/data/:/app/cypress/fixtures/data/ \
-v $(PWD)/doc/:/app/cypress/fixtures/doc/ \
-v $(PWD):/app/vidjil \
-v "$(PWD)/docker/ci/cypress_script.bash":"/app/script.bash" \
--env BROWSER=electron --env HOST=local --env PROJECT="./browser/test/" -it "vidjilci/cypress_with_browsers:latest" bash
###############################
tutorial-test.rb:
$(MAKE) -C doc/tutorial tutorial-test.rb
###
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment