From 84d380863e71915a3dacdcc1ace209cc31d393b1 Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Tue, 16 Sep 2014 14:35:27 -0300 Subject: [PATCH] docs: Updating test references Signed-off-by: Lucas Meneghel Rodrigues --- docs/source/WritingTests.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/WritingTests.rst b/docs/source/WritingTests.rst index 47da37b5..d877984f 100644 --- a/docs/source/WritingTests.rst +++ b/docs/source/WritingTests.rst @@ -112,7 +112,7 @@ Using a multiplex file You may use the avocado runner with a multiplex file to provide params and matrix generation for sleeptest just like:: - $ avocado run sleeptest --multiplex tests/sleeptest.py.data/sleeptest.mplx + $ avocado run sleeptest --multiplex examples/tests/sleeptest.py.data/sleeptest.yaml JOB ID : d565e8dec576d6040f894841f32a836c751f968f JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.44-d565e8de/job.log TESTS : 3 @@ -129,12 +129,12 @@ generation for sleeptest just like:: Note that, as your multiplex file specifies all parameters for sleeptest, you can't leave the test ID empty:: - $ scripts/avocado run --multiplex tests/sleeptest/sleeptest.mplx + $ scripts/avocado run --multiplex examples/tests/sleeptest/sleeptest.yaml Empty test ID. A test path or alias must be provided If you want to run some tests that don't require params set by the multiplex file, you can:: - $ avocado run sleeptest synctest --multiplex tests/sleeptest.py.data/sleeptest.mplx + $ avocado run sleeptest synctest --multiplex examples/tests/sleeptest.py.data/sleeptest.yaml JOB ID : dd91ea5f8b42b2f084702315688284f7e8aa220a JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.49-dd91ea5f/job.log TESTS : 4 @@ -177,7 +177,7 @@ you want to use it, don't forget to ``chmod +x`` your test. Executing an avocado test gives:: - $ tests/sleeptest.py + $ examples/tests/sleeptest.py JOB ID : de6c1e4c227c786dc4d926f6fca67cda34d96276 JOB LOG: /home/lmr/avocado/job-results/job-2014-08-12T15.48-de6c1e4c/job.log TESTS : 1 @@ -198,7 +198,7 @@ assemble a fully automated test grid, plus richer test API for tests on the Linux platform. Regardless, the fact that an avocado class is also an unittest cass, you can run them with the ``nosetests`` application:: - $ nosetests tests/sleeptest.py + $ nosetests examples/tests/sleeptest.py . ---------------------------------------------------------------------- Ran 1 test in 1.004s -- GitLab