Open main menu

Changes

Installation test

493 bytes added, 17:45, 19 October 2015
Added an intro sentence.
The following describes how to test relax after installation. == Run the full test suite ==Always perform a test-suite run, when you have installed or updated relax, or installed<source lang="bash">relax --test-suite -l system-tests.logrelax --help</source> Individual test suite categories can be run with
<source lang="bash">
relax -s -l system-tests.log
relax -u -l unit-tests.log
relax -x -gui-tests -l testgui-suitetests.log
relax --help
</source>
== Single test runs ==
[http://www.nmr-relax.com/api/2.2/test_suite.unit_tests.unit_test_runner-module.html See manual].
Individual groups of system or GUI tests, as well as single tests from both categories can be run as follows:
<source lang="bash">
# Run specific an individaul GUItest.
relax --gui-tests Mf.test_mf_auto_analysis --debug
# To test_suiteRun all of the Peak_lists system tests.system_tests.peak_lists.Peak_listsrelax -s -system-tests Peak_lists# Even more specificOr even individual tests.relax --system-tests Peak_lists.test_read_peak_list_nmrviewrelax -s Peak_lists.test_read_peak_list_nmrviewtest_read_peak_list_NMRPipe_seriesTab
</source>
 
Running indivdual unit tests is far more complicated. For instructions, please see the [http://www.nmr-relax.com/api/2.2/test_suite.unit_tests.unit_test_runner-module.html manual].
== wxPython test ==
Trusted, Bureaucrats
4,228

edits