backbone-adapter-testsuite
Gherkin feature definitions and fixtures to run against all language ports of the backbone-adapter.
Contents
/features
Gherkin .feature
files describing a suite of tests which
should be run against all language ports of the adapter
/fixtures
A set of fixtures to be used to configure the tests.
Implementations
You can see existing implementations of the test suite here
-
JS-Cucumber
Step definitions are in
test/cucumber
Installing
The intention is to install a tagged version of the testsuite into each adapter so that if we develop the testsuite existing adapter implementations won't break.
In JS the target tag/branch/commit is specified with # after the git url
NPM
npm install --saveDev git+https://git.noc.ac.uk/communications-backbone-system/backbone-adapter-testsuite.git#[tag|branch|commit]
Yarn
yarn add --dev git+https://git.noc.ac.uk/communications-backbone-system/backbone-adapter-testsuite.git#[tag|branch|commit]
PIP
In pip the target tag/branch/commit is specified with @ after the git url
echo
"git+https://git.noc.ac.uk/communications-backbone-system/backbone-adapter-testsuite.git@[tag|branch|commit]#egg=backbone-adapter-testsuite" >> requirements.txt
pip install -r reqiurements.txt
# copy features and fixtures into test directory
copy_tests