You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start a new terminal and test the following command:
71
-
72
-
```shell
73
-
cucumber --help
74
-
```
75
-
76
54
## Running tests
77
55
78
-
From the main folder of Hyperglosae, type the following command:
56
+
From the `frontend` folder of Hyperglosae, type the following command:
79
57
80
58
```shell
81
-
cucumber --fail-fast --quiet --retry 2
59
+
npm run test2
82
60
```
83
61
62
+
Select `E2E testting`, `Electron`, and then the tests you want to run.
63
+
84
64
## Developping
85
65
86
66
### Frontend developping
@@ -94,9 +74,9 @@ You may also see any lint errors in the console.
94
74
95
75
The backend is coded in JavaScript as CouchDB views (see [documentation](https://docs.couchdb.org/en/stable/ddocs/views/)). Documents stored in CouchDB can be created, updated and deleted (esp. by the frontend) using CouchDB REST API (see [documentation](https://docs.couchdb.org/en/stable/api/document/)).
96
76
97
-
Everytime you update code in `backend/src`, please push it to the backend with:
77
+
Everytime you update code or settings in `backend`, please push them to the backend with:
98
78
99
-
```sh
79
+
```shell
100
80
docker compose --file docker-compose.dev.yml run updated_code
101
81
```
102
82
@@ -105,15 +85,16 @@ And then refresh the frontend (or backend) page.
105
85
### Samples writing
106
86
107
87
Everytime you update sample data in `samples`, please push them to the backend with:
108
-
```sh
88
+
89
+
```shell
109
90
docker compose --file docker-compose.dev.yml run updated_samples
110
91
```
111
92
112
93
### Cleaning the data
113
94
114
95
If (and only if) you want to remove ANY DATA added by hand or through automated tests, launch the following command:
115
96
116
-
```sh
97
+
```shell
117
98
docker-compose --file docker-compose.dev.yml down
118
99
docker compose --file docker-compose.dev.yml up --detach
0 commit comments