From 56c20ec815051d5909dc894c09ad0d457ca7248f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Armando=20Garc=C3=ADa=20Sancio?= Date: Thu, 23 Jun 2016 18:03:14 -0700 Subject: [PATCH] Fix README instructions for running tests (#663) --- README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 4be21c9..1010892 100644 --- a/README.rst +++ b/README.rst @@ -102,7 +102,10 @@ Setup ##### Tox, our test runner, tests against both Python 2.7 and Python 3.4 -environments. +environments. We have a set of tests in the :code:`dcos` package (root +directory) and in the :code:`dcoscli` package (:code:`cli` directory). When +running the tests describe below change directory to one of those two and +follow the instructions. Running ####### @@ -111,7 +114,7 @@ Tox will run unit and integration tests in both Python environments using a temporarily created virtualenv. You can set :code:`DCOS_CONFIG` to a config file that points to a DC/OS -cluster you want to use for integration tests. This defaults to +cluster you want to use for integration tests. This defaults to :code:`~/.dcos/dcos.toml` There are two ways to run tests, you can either use the virtualenv created by @@ -136,7 +139,7 @@ Other Useful Commands #. Run a specific integration test module:: - tox -e py27-integration /cli/test_config.py + tox -e py34-integration /test_config.py Releasing