Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-02 00:12:11 +0300
committerJulius Härtl <jus@bitgrid.net>2020-01-04 13:31:51 +0300
commit08386c96cf2b942c0d93f32aa0d39505ad6510ac (patch)
treef3ee4dc1d65fd946148119c6cfa2c4b1c9acd79a /Makefile
parent290af2b60216700e2a8f7d4c3b1e9ddf0a0f2394 (diff)
Cypress test skeleton
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 11 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 52a760442..94dd4a551 100644
--- a/Makefile
+++ b/Makefile
@@ -24,24 +24,23 @@ watch-js:
npm run watch
# Testing
-test:
+test: test-js test-cypress
+
+test-cypress:
+ cd cypress && ./runLocal.sh run
+
+test-cypress-watch:
+ cd cypress && ./runLocal.sh open
+
+test-js:
npm run test
-test-watch:
+test-js-watch:
npm run test:watch
-test-coverage:
+test-js-coverage:
npm run test:coverage
-test-cypress:
- echo "Init server for $(app_name)"
- ./cypress/start.sh $(app_name)
- npm run cypress:gui
- ./cypress/stop.sh $(app_name)
-
-test-cypress-kill:
- ./cypress/stop.sh $(app_name)
-
# Linting
lint:
npm run lint