Skip to content
Snippets Groups Projects
Commit 58cc8f1a authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Add note about test dependencies, WSL and running tests non-interactively

parent 2da72411
No related branches found
No related tags found
2 merge requests!131FIX: error in regexp to match URLs,!128F 344 extern linkify absorbs commas etc into link adress
......@@ -63,10 +63,16 @@ See `build.properties.d/00_default.properties` for more information.
## Test
* See [DEPENDENCIES](DEPENDENCIES#for-unit-testing) for the requirements to run the unit tests.
* Run `make test` to compile/copy the web interface and the tests to a newly
created `public` folder.
* Run `make run-test-server` to start a python http server.
* The test suite can be started with `firefox http://localhost:8000/`.
* *On WSL (as of Feb 2024, WSL v2.0.14.0)*, port 8000 is sometimes not properly forwarded to the host
resulting in an unreachable test suite. Switching to a different port can be done easily
by using the `TEST_PORT` environment variable, e.g. with `TEST_PORT=8111 make
run-test-server`. Using the X11 `firefox` from within WSL always works.
* To run the test suite non-interactively (as in CI/CD) use `make -d run-qunit`
## Clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment