source: sasview/test/README.rst @ 814ee32

Last change on this file since 814ee32 was 959eb01, checked in by ajj, 8 years ago

normalising line endings

  • Property mode set to 100644
File size: 836 bytes
RevLine 
[959eb01]1Running Tests
2=============
3
4Tests are stored in subdirectories of the test directory, as
5*package/test/utest_\*.py*.   Other files in the test subdirectory are
6data, expected output and other support files.  Before running any tests
7you must first run *setup.py build* in the root.  Tests are run against the
8current source directory with run magic to find the compiled code, so you
9only need to rebuild between tests if you are modifying the C code.
10
11Tests can be run in Eclipse (or other IDE) by selecting *utest_sasview.py*
12and selecting run.  This will run all of the tests.  To run tests for one
13one package, edit the *utest_sasview.py* run command and add the package
14directory to the command arguments.  To run an individual test,
15select *run_one.py* and edit the command arguments to include the path to
16the desired test file.
Note: See TracBrowser for help on using the repository browser.