Changeset 39d6fba


Ignore:
Timestamp:
Nov 21, 2018, 6:12:53 PM (12 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
007c0a1
Parents:
e6a07fe
Message:

[doc] move python tests from python/README.md to doc/python_module.rst

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/python_module.rst

    re6a07fe r39d6fba  
    6868------------
    6969
    70 A number of `python tests`_ are provided. To run them, use
    71 ``python/tests/run_all_tests``.
     70A number of Python tests are provided in the `python tests`_. To run them,
     71install `nose2`_ and run the script ``python/tests/run_all_tests``:
     72
     73.. code-block:: console
     74
     75    $ pip install nose2
     76    $ ./python/tests/run_all_tests
    7277
    7378.. _demo_filter.py: https://github.com/aubio/aubio/blob/master/python/demos/demo_filter.py
    7479.. _python tests: https://github.com/aubio/aubio/blob/master/python/tests
     80.. _nose2: https://github.com/nose-devs/nose2
  • python/README.md

    re6a07fe r39d6fba  
    7777sounds.
    7878
    79 Testing the Python module
    80 -------------------------
    81 
    82 Python tests are in `python/tests` and use the [nose2 python package][nose2].
    83 
    84 To run the all the python tests, use the script:
    85 
    86     $ ./python/tests/run_all_tests
    87 
    88 Each test script can also be called one at a time. For instance:
    89 
    90     $ ./python/tests/test_note2midi.py -v
    91 
    92 [nose2]: https://github.com/nose-devs/nose2
    93 
    9479For more information about how this module works, please refer to the [Python/C
    9580API Reference Manual] (http://docs.python.org/c-api/index.html) and the
Note: See TracChangeset for help on using the changeset viewer.