mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2024-12-23 23:02:33 +00:00
988 B
988 B
Conformance testing
Based on pyresttest. It implements the tests from TS-0013.
Prerequisites
The python module pyresttest has to be installed.
$ pip install pyresttest
Running the Tests
The tests can be run from the command line. Make sure that a instance is running.
Assuming that a gateway is running at localhost, port 8000.
$ pyresttest http://localhost:8000 tests/conformance/basic.yaml
Test Group Openmtc Test 8.1.1 SUCCEEDED: : 1/1 Tests Passed!
Test Group Openmtc Test 8.1.2 SUCCEEDED: : 4/4 Tests Passed!
Test Group Openmtc Test 8.1.3 SUCCEEDED: : 4/4 Tests Passed!
Test Group Openmtc Test 8.1.4 SUCCEEDED: : 8/8 Tests Passed!
Test Group Openmtc Test 8.1.5 SUCCEEDED: : 13/13 Tests Passed!
Test Group Openmtc Test 8.1.6 SUCCEEDED: : 4/4 Tests Passed!