[docs] update the "testing" contributing section

It now includes the new commands.
This commit is contained in:
Alexis Métaireau 2024-03-28 17:19:38 +01:00
parent bfd573ae36
commit 28d7cff747

View file

@ -42,8 +42,13 @@ You can now do your changes in a specific branch, and when you're ready you can
### Running tests
Multiple tests suites are in use in the project.
Multiple tests suites are in use in the project. You can run all the tests by using:
```
make test
```
This will run JavaScript and Python unittests + Playwright integration tests
#### Python unit tests
@ -55,6 +60,8 @@ By default, the tests are run in parallel to reduce the time taken to run them.
If you only want to run one test, you can add `-k specific-test-name` to the command line.
All the tests are run when you're creating a pull request, to avoid regressions.
#### Integration tests
```bash
@ -76,8 +83,6 @@ make testjs
These tests are located in `umap/static/test`, and we are currently using a mocha test runner.
All the tests are run when you're creating a pull request, to avoid regressions.
### Merging rules
Pull requests need to be accepted by one maintainer of the project. Please be patient, we try to do our best, but it sometimes takes time.