Closed OpenTrading closed 9 years ago
how do you run the tests? see how travis does
I just checked the code out from github, ran "python setup.py install", and then ran "py.test tests" or "cd tests ; py.test" - it should run out-of-the-box. All the components like pytest-localserver, firefox, chromium, zope.testbrowser and splinter are up-to-date.
I'm having even more troubles with phantomjs and chrome - see https://github.com/pytest-dev/pytest-splinter/issues/35
Can you try checking the code out from github in a bare test login, and run "python setup.py install", and then run "cd tests ; py.test"? I'm looking forward to using this under pytest-bdd.
preparation of the test environment is in the Makefile:
pip install -e . -r requirements-testing.txt tox coveralls
that's what you need to be able to run py.test tests
or just use tox
command (from the root folder)
A checkout of the current github code, on linux, Python 2.7.9, splinter-0.7.2 pytest-2.7.0 using firefox 37.0.2 fails the tests with: