Showing the changes to python (1 of 2 files). Show all
Unified · Split
| @@ -76,21 +76,6 @@ Some demos use [matplotlib](http://matplotlib.org/) to draw plots, others use · 75 unmodified lines | |||
| 76 | [PySoundCard](https://github.com/bastibe/PySoundCard) to play and record | 76 | [PySoundCard](https://github.com/bastibe/PySoundCard) to play and record |
| 77 | sounds. | 77 | sounds. |
| 78 | 78 | ||
| 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 | |||
| 94 | For more information about how this module works, please refer to the [Python/C | 79 | For more information about how this module works, please refer to the [Python/C |
| 95 | API Reference Manual] (http://docs.python.org/c-api/index.html) and the | 80 | API Reference Manual] (http://docs.python.org/c-api/index.html) and the |
| 96 | [Numpy/C API Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html). | 81 | [Numpy/C API Reference](http://docs.scipy.org/doc/numpy/reference/c-api.html). |