|Last change on this file since 21:40b68b918abc was 21:40b68b918abc, checked in by , 6 years ago|
|File size: 2.6 KB|
Python envjasmine wrapper
pip install pyenvjasmine
Or you can grab the latest sources and install it from there:
python setup.py install
Also, you can use it directly from the sources directory, in development mode (useful if you want to contribute to the project):
pip install -e .
More about the development mode here:
nosetests --cover-package=pyenvjasmine --cover-erase \ --with-coverage --with-doctest $*
If you have installed pyenvjasmine in development mode, you can simply run:
nosetests -c nose.cfg
to run the tests from within the pyenvjasmine sources directory.
The simplest solution is to set capture_output to False, so you see the output from the js tests on the console. Something like this:
If you want a more integrated test control, you could set capture_output to True, then parse the test output that is returned from the run() method, with something like this: