Pārlūkot izejas kodu

Merge pull request #24 from tracim/fix/better_readme

PhilippeAccorsi 6 gadus atpakaļ
vecāks
revīzija
76212bff12
Revīzijas autora e-pasts nav piesaistīts nevienam kontam
1 mainītis faili ar 24 papildinājumiem un 0 dzēšanām
  1. 24 0
      README.md

+ 24 - 0
README.md Parādīt failu

@@ -59,4 +59,28 @@ You can now enter the application at
59 59
  * user: `admin@admin.admin`
60 60
  * password: `admin@admin.admin`
61 61
 
62
+----
63
+
64
+## Running tests with cypress ##
65
+
66
+----
67
+
68
+## Installation of cypress: Automated script for easy setup ##
69
+
70
+This script check if nodejs is installed (npm is necessary to install Cypress), if file package.json and cypress.json exist in 'functionnal_tests' folder. if not the script install necessary file and install Cypress.
71
+
72
+    ./install_cypress.sh
73
+
74
+## Run tests with command line ##
75
+
76
+    cd functionnal_tests/
77
+    ./node_modules/.bin/cypress run
78
+
79
+##Run tests with cypressgui ##
80
+
81
+Open Cypress with graphical interface
82
+
83
+    cd functionnal_tests/
84
+    ./node_modules/.bin/cypress open
85
+
62 86