Skip to content

Commit

Permalink
Tox launcher (conan-io#4151)
Browse files Browse the repository at this point in the history
* Tox launcher

* Readme
  • Loading branch information
lasote authored and danimtb committed Dec 17, 2018
1 parent b7ca7df commit 7c153ca
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,27 @@ You can run **conan** client and server in Windows, MacOS, and Linux.
Running the tests
=================

Using tox
---------


.. code-block:: bash
$ tox
It will install the needed requirements and launch `nose` skipping some heavy and slow test.
If you want to run the full test suite:

.. code-block:: bash
$ tox -e full
Without tox
-----------

**Install python requirements**

.. code-block:: bash
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[tox]

[testenv]
deps = -rconans/requirements_dev.txt
commands = nosetests -A "not slow and not svn" [] # substitute with tox' positional arguments

[testenv:full]
deps = {[testenv]deps}
commands = nosetests [] # substitute with tox' positional arguments

0 comments on commit 7c153ca

Please sign in to comment.