python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Define input parameters for all pytest functions
I have a large Python project with many functions that are used by a single driver main.py. The driver provides the input parameters needed for all the functions. I'm using pytest to test the function...

wigging
Votes: 0
Answers: 1
pytest mark parametrization with dependency on each other
I'm using pytest for unittests and I would like to parametrize the tests.
I know I can use @pytest.mark.parametrize at class level and at method level.
@pytest.mark.parametrize("param1", [1,...
avans
Votes: 0
Answers: 1
How to access invoked functions parameters from pytest_runtest_makereport
I'm trying to make custom pytest flag, which will store copy of result files when this flag is used. To do this, I need to access retroactively some other functions that were invoked during test run a...
pat987
Votes: 0
Answers: 0
How to configure pytest to raise/trigger BytesWarning?
Maybe I am going about this the wrong way, because my search turned up nothing useful.
Adding the -b (-bb) option when calling the python interpreter will warn (raise) whenever an implicit bytes to st...
FirefoxMetzger
Votes: 0
Answers: 1