From 28d7cff7477dff87f610e59d1856dd5ad14b3b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Thu, 28 Mar 2024 17:19:38 +0100 Subject: [PATCH] [docs] update the "testing" contributing section It now includes the new commands. --- docs/contributing.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index e66baea0..38f5499d 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -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.