You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am new to pytest. I Request to help me on creating a framework in pytest.
my requirement is as below.
i will be having n number of testfiles
for each testfiles there will be specific folder which contains input files.
each testfiles will have different test function for each input files.
Also I should be capable of running specific testfiles which should be configured in one txt file
ex:- asume i have run_reg.txt in which i will specify which all testfiles should run
I kindly need your help in designing this frame work. Please help.
Thanks in advance
The text was updated successfully, but these errors were encountered:
GitMate.io thinks possibly related issues are #3574 (Help: Exit pytest cleanly "mid" run?), #2530 (Is it possible to run Robot Framework's unittests with Pytest?), #1411 (Pytest stops), #2310 (tox needed?), and #1602 (pytest.print()).
You'll probably be able to solve most (if not all) of those requirements with pytest.mark.parametrize -- here's an example from some of my code that sounds roughly like what you're describing. Note here that I'm listing files in a data directory and using the filename as the input parameter to the test.
You might also find the -k commandline argument useful for selecting / deselecting specific tests.
Hi Pytest Experts,
i am new to pytest. I Request to help me on creating a framework in pytest.
my requirement is as below.
ex:- asume i have run_reg.txt in which i will specify which all testfiles should run
I kindly need your help in designing this frame work. Please help.
Thanks in advance
The text was updated successfully, but these errors were encountered: