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

Python, Pytest Is It Possbile To Add Both Long And Short Args?

Hello i'm trying to add args to my pytest tests I've tried something like #conftest.py cont… Read more Python, Pytest Is It Possbile To Add Both Long And Short Args?

Use Ipdb Instead Of Pdb With Py.test --pdb Option

I want to use ipdb instead of pdb with py.test --pdb option. Is this possible? If so, how? Clearly,… Read more Use Ipdb Instead Of Pdb With Py.test --pdb Option

Sys.path Including Py.test Rootdir To Make Tests Import Relative To Project Root

I'm having problems with pytest not including my projects rootdir in sys.path list. Instead it … Read more Sys.path Including Py.test Rootdir To Make Tests Import Relative To Project Root

Can't Get Pytest To Understand Command-line Arguments On Setups

So I have been trying to get pytest to run selenium tests on different environments based on some c… Read more Can't Get Pytest To Understand Command-line Arguments On Setups

Empty Messages In Caplog When Logs Emmited In A Different Process

I am running the test with log_cli=true. The script: import logging import sys from multiprocessing… Read more Empty Messages In Caplog When Logs Emmited In A Different Process

How To Use Logging, Pytest Fixture And Capsys?

I am trying to unit-test some algorithm that uses logging library. I have a fixture that creates a … Read more How To Use Logging, Pytest Fixture And Capsys?