Commit Graph

3 Commits (bc70ab8cc9912bbf16d2fcc7568fc05bffcf6402)

Author SHA1 Message Date
Anler Hp bc70ab8cc9 Moving fixture into standalone module and new module tests.utils 2014-05-27 13:28:46 +02:00
Anler Hp ac49a76146 Automatically skip slow tests
You can mark a test as slow using:

    @pytest.mark.slow
    def test_something():
        ...

Use the option "--runslow" to tell the test runner to also include slow
tests:
        py.test --runslow ...
2014-05-22 18:34:03 +02:00
Anler Hp e1fdc36301 Pytest mutable object fixture.
Usage:
        def test_something(object):
            # mutate object as needed
2014-05-22 18:34:03 +02:00