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
Copy file name to clipboardexpand all lines: .github/CONTRIBUTING.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Go over the steps in [this](https://github.com/firstcontributions/first-contribu
7
7
To start you need:
8
8
9
9
1. Fork and clone the repo.
10
-
2. Run `npm i --force --omit=optional` to install all required libraries
10
+
2. Run `npm i --force` to install all required libraries
11
11
3. Do the changes.
12
12
4. Add/Update Test (if possible)
13
13
5. Update documentation
@@ -28,7 +28,6 @@ To run examples:
28
28
node bin/codecept.js run -c examples
29
29
```
30
30
31
-
32
31
Depending on a type of change you should do the following.
33
32
34
33
## Debugging
@@ -45,12 +44,12 @@ Please keep in mind that CodeceptJS have **unified API** for Playwright, WebDriv
45
44
46
45
### Updating Playwright | Puppeteer | WebDriver
47
46
48
-
*Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required! Do **not edit**`docs/helpers/`, those files are generated from docblocks in corresponding helpers! *
47
+
_Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required! Do **not edit**`docs/helpers/`, those files are generated from docblocks in corresponding helpers! _
49
48
50
49
Working test is highly appreciated. To run the test suite you need:
*Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required!*
85
+
_Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required!_
87
86
88
87
Adding a test is highly appreciated.
89
88
@@ -97,7 +96,7 @@ Edit a test at `test/rest/REST_test.js` or `test/rest/ApiDataFactory_test.js`
97
96
98
97
## Appium
99
98
100
-
*Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required! Do **not edit**`docs/helpers/`, those files are generated from docblocks in corresponding helpers! *
99
+
_Whenever a new method or new behavior is added it should be documented in a docblock. Valid JS-example is required! Do **not edit**`docs/helpers/`, those files are generated from docblocks in corresponding helpers! _
101
100
102
101
It is recommended to run mobile tests on CI.
103
102
So do the changes, make pull request, see the CI status.
@@ -212,6 +211,7 @@ docker-compose run --rm test-helpers test/rest
212
211
```
213
212
214
213
#### Run acceptance tests
214
+
215
215
To that we provide three separate services respectively for WebDriver, Nightmare and Puppeteer tests:
216
216
217
217
```sh
@@ -236,11 +236,13 @@ And now every command based on `test-helpers` service will use node 9.4.0. The
236
236
same argument can be passed when building unit and acceptance tests services.
237
237
238
238
### CI flow
239
+
239
240
We're currently using a bunch of CI services to build and test codecept in
240
241
different environments. Here's short summary of what are differences between
241
242
separate services
242
243
243
244
#### CircleCI
245
+
244
246
Here we use CodeceptJS docker image to build and execute tests inside it. We
245
247
start with building Docker container based on Dockerfile present in main project
246
248
directory. Then we run (in this order) unit tests, all helpers present in
0 commit comments