john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

rpsls pytest readme

To use the examples here:

1. Install py.test
>> Visit http://pytest.org/latest/getting-started.html and read its documentation on installation
>> For my Mac this is what I did:
    > sudo easy_install pip
    > sudo pip install -U pytest

2. Try running py.test here and observe that it ran all the test cases

3. Try this and observe that it skipped the slow test (because of the magic in conftest.py):
    > py.test --skipslow


For Eclipse/Aptana Studio

Window -> Preferences -> PyDev -> PyUnit -> Test Runner (dropdown) = Py.test runner

  • « rpsls
  • rpsls conftest »

Published

Jan 25, 2013

Category

python

~86 words

Tags

  • pytest 6
  • python 180
  • readme 1
  • rpsls 6