Commit d8a35fad authored by Alexandru Băluț's avatar Alexandru Băluț

docs: Update testing

A `-t` argument was missing.
parent 1487bcf5
...@@ -12,27 +12,27 @@ you want to test more thoroughly. ...@@ -12,27 +12,27 @@ you want to test more thoroughly.
## Unit tests ## Unit tests
You can run the unit tests with: You can run the unit tests with one of:
``` ```
ninja -C mesonbuild/ test $ ptvtests
``` ```
If you want to run only one particular unit test, use (assuming you are in If you want to run only one particular unit test, use (assuming you are in
our flatpak based environment): our flatpak based development environment):
``` ```
ptvtests tests.test_project.TestProjectManager.testLoadProjectFailedUnknownFormat $ ptvtests -t tests.test_project.TestProjectManager.testLoadProjectFailedUnknownFormat
``` ```
Listing tests: Listing tests:
``` ```
ptvtests -L $ ptvtests -L
``` ```
NOTE: If you are not in our environment, replace `ptvtests` with NOTE: If you are not in our dev env, replace `ptvtests` with
`gst-validate-launcher tests/ptv_testsuite.py`.) `gst-validate-launcher tests/ptv_testsuite.py`.
### Writing unit tests ### Writing unit tests
...@@ -69,5 +69,5 @@ each time Pitivi is used. ...@@ -69,5 +69,5 @@ each time Pitivi is used.
You can run the integration tests with: You can run the integration tests with:
``` ```
tests/validate-tests/runtests $ tests/validate-tests/runtests
``` ```
...@@ -37,7 +37,7 @@ on the website (includes a “Why contribute to Pitivi?” section). ...@@ -37,7 +37,7 @@ on the website (includes a “Why contribute to Pitivi?” section).
- [Setup development environment](HACKING.md) (official and - [Setup development environment](HACKING.md) (official and
easiest way to get your testing/development environment running, easiest way to get your testing/development environment running,
with pre-built dependencies) with pre-built dependencies)
- The [test suite](Testing.md) (outdated) - The [test suite](Testing.md)
## Ways to communicate ## Ways to communicate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment