A python implementation of the Concordion Acceptance Testing framework.
$ pip install pyconcordion2
Simply extend your python test cases from ConcordionTestCase
from pyconcordion2 import ConcordionTestCase
Execute as you would normal unittests.
This is not a 100% port of the original Concordion framework. If you found a differing behaviour please let me know.
Differences:
- Not possible to link to test data via CSV
- Extensions are currently not supported.
$ git clone [email protected]:concordion/pyconcordion2.git $ cd pyconcordion2 $ virtualenv env_concordion $ source ./env_concordion/bin/activate $ pip install -r requirements.txt $ nosetests # to run tests
- ::
- $ python2 setup.py sdist bdist_wheel $ twine upload dist/*
Copyright 2013 John Jiang
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Thanks to the Concordion team for making the original framework.
Thanks to JC Plessis for making pyconcordion python port