Skip to content

Trigerring Test Method from normal function. Processing each CSV record for test #2011

Answered by mdmintz
narendarbhogala asked this question in Q&A
Discussion options

You must be logged in to vote

The output of pytest --co -q is a test address, such as basic_test.py::MyTestClass::test_basics, which can be called directly with pytest. If you put each row into a CSV file, you can easily map tests to results. So if you build a CSV parser, you can pull the test address, run it with pytest, and then put the result back into the CSV file. This seems kind of off-topic for SeleniumBase, (since it is directly tied to pytest at that point), but this should point you in the right direction.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
4 replies
@mdmintz
Comment options

@narendarbhogala
Comment options

@mdmintz
Comment options

@narendarbhogala
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants