OpenMTC/tests/interoperability
aor-fokus 6cbb2e6144 Test debian stretch+python3 (#18)
* changes starting with python3 explicit

* removes python modules which are not available for python3

* exchanges fyzz query parsing with rdflib functionality

* fixes interop tests

* replaces reduce with for loop in nodb driver

* simple python2 -> python3 conversions

* adds changes for handling different string handling in python3

* test stretch building with travis

* installing python-setuptools in docker

* installing python-setuptools in docker

* changing python2 to python3 in docker makefiles

* changing python2 to python3 and some other test changes

* push docker only in master branche

* running version of openmtc

* fix some port problems

* porting path library completly now

* restoring travis.yml

* testing new travis.yml

* add sudo

* updating travis OS from trusty to xenial

* upgrade pip before

* show running docker logs

* show more logs

* for debugging

* showlogs of docker after failure

* testing new travis.yml

* finish travis.yml
2019-02-06 15:11:32 +01:00
..
basic.yaml Test debian stretch+python3 (#18) 2019-02-06 15:11:32 +01:00
README.md fixes typo 2019-01-11 17:52:58 +01:00

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/interoperability/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!