[pitivi] docs: Update testing
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] docs: Update testing
- Date: Wed, 9 Jan 2019 23:07:47 +0000 (UTC)
commit d8a35fadc5757f72c67adac449fdc349471a672e
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sat Dec 15 00:50:14 2018 +0100
docs: Update testing
A `-t` argument was missing.
docs/Testing.md | 16 ++++++++--------
docs/index.md | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/docs/Testing.md b/docs/Testing.md
index f13ecb77..e1927223 100644
--- a/docs/Testing.md
+++ b/docs/Testing.md
@@ -12,27 +12,27 @@ you want to test more thoroughly.
## 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
-our flatpak based environment):
+our flatpak based development environment):
```
-ptvtests tests.test_project.TestProjectManager.testLoadProjectFailedUnknownFormat
+$ ptvtests -t tests.test_project.TestProjectManager.testLoadProjectFailedUnknownFormat
```
Listing tests:
```
-ptvtests -L
+$ ptvtests -L
```
-NOTE: If you are not in our environment, replace `ptvtests` with
-`gst-validate-launcher tests/ptv_testsuite.py`.)
+NOTE: If you are not in our dev env, replace `ptvtests` with
+`gst-validate-launcher tests/ptv_testsuite.py`.
### Writing unit tests
@@ -69,5 +69,5 @@ each time Pitivi is used.
You can run the integration tests with:
```
-tests/validate-tests/runtests
+$ tests/validate-tests/runtests
```
diff --git a/docs/index.md b/docs/index.md
index 7e385071..e594b94a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -37,7 +37,7 @@ on the website (includes a “Why contribute to Pitivi?” section).
- [Setup development environment](HACKING.md) (official and
easiest way to get your testing/development environment running,
with pre-built dependencies)
-- The [test suite](Testing.md) (outdated)
+- The [test suite](Testing.md)
## Ways to communicate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]