spec
spec copied to clipboard
Running the test suite - how?
Am looking into #28 but struggling to get the test suite to pass as a first step. It would be useful if some basic contributing instructions were added to the README.
What I tried
I set up the project by running:
python setup.py develop
pip install tox
Running tox worked for the python versions I have locally but it's just a simple smoke test.
I can't get the tests in the tests
folder to pass right now, but I'm not sure which testrunner you use for development.
Running spec
on its own chokes on a bad option:
It does seem that the correct CLI option is --with-specplugin``rather than
--with-spec` - is that right? However, switching to this in the test cases doesn't resolve the issue - the tests still fail with a similar message. The problem seems to be rooted in how the plugin testcase works, which I'm not that familiar with.
Any help appreciated.
I actually never got this to work right myself (the test suite is mostly from before I forked off of pinocchio IIRC). Have been too much of a lazy ass to correct that or start over w/ a new test suite :( I know, worst practices for a test runner.
I'd be open to a new test suite that exercises most of what Spec does (re: selection & output). Not sure when I would get to that myself but if you want to take a crack at it, go nuts.