Main > Reference Manual > Unit tests
These pages document the test suite available in the 'test' subdirectoy. The tests can be categorized in the following functional categories:
- Unit tests, which verify the behavior specific parts of the code.
- Performance tests, which focus on the performance (memory and/or cpu-time).
- Samples, which demonstrate the real-life usage of the tool.
The test suite is run by the runtest.py script in the test subdirectory. You need to have Python installed on your machine to run the test suite.
Usage:
runtest.py: Run all tests runtest.py --exclude not_this_test: Run all tests, except the ones you choose to skip runtest.py --vcc: Run all tests on Windows runtest.py A B: Run the tests A and B runtest.py --debug A: Run the test A, verbosely showing its output runtest.py --help: Print information on the script and its options
The tests described here only test the core library.
A seperate test suite exists for the Django user interface.
- TestBufferProcure1
- TestCallback
- TestCluster
- TestConstraintsCombined1
- TestConstraintsLeadtime1
- TestConstraintsMaterial1
- TestConstraintsMaterial2
- TestConstraintsMaterial3
- TestConstraintsMaterial4
- TestConstraintsResource1
- TestConstraintsResource2
- TestConstraintsResource3
- TestConstraintsResource4
- TestConstraintsResource5
- TestDatetime
- TestDeletion
- Test Demand Policy
- TestFlowEffective
- TestFlowAlternate1
- TestFlowAlternate2
- TestForecast1
- TestForecast2
- TestForecast3
- TestForecast4
- TestForecast5
- TestForecast6
- TestJobshop
- TestLoadAlternate
- TestLoadEffective
- TestLPSolver1
- TestMultithreading
- TestName
- TestOperationAlternate
- TestOperationAvailable
- TestOperationEffective
- TestOperationPreOp
- TestOperationRouting
- TestPegging
- TestPython1
- TestPython2
- TestPython3
- TestProblems
- TestSafetyStock
- TestSampleModule
- TestScalability1
- TestScalability2
- TestScalability3
- TestSetup1
- TestSetup2
- TestXML
- TestXMLRemote