Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pytest

How To Keep Track Of Instances Of Python Objects In A Reliable Way?

I would like to be able to keep track of instances of geometric Point objects in order to know what… Read more How To Keep Track Of Instances Of Python Objects In A Reliable Way?

Making Pytest Quieter When Run From Pycharm

UPDATE: The messages shown below are NOT controlled by pytest various '-q' quiet options. … Read more Making Pytest Quieter When Run From Pycharm

Pytest Logging Ignores Options In Pytest.ini

I have a test that I am running with: pytest --capture=no --verbose --rootdir=testing/ testing/test… Read more Pytest Logging Ignores Options In Pytest.ini

Pytest Running Scenarios In The Correct Order In The Class

So I have the following structure: class Test(object): def test_1(self): pass def tes… Read more Pytest Running Scenarios In The Correct Order In The Class

Printing Test Execution Times And Pinning Down Slow Tests With Py.test

I am running unit tests on a CI server using py.test. Tests use external resources fetched over net… Read more Printing Test Execution Times And Pinning Down Slow Tests With Py.test

Py.test Method To Be Executed Only Once Per Run

Im new to pytest(and python). In have set of things to be executed only once before all my tests(ex… Read more Py.test Method To Be Executed Only Once Per Run