Skip to content

Data Driven Testing: Any example on how to incorporate processing each csv row to a test function #2015

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

You must be logged in to vote

For a file-parsing example, see: https://github.com/seleniumbase/SeleniumBase/blob/master/examples/boilerplates/samples/file_parsing/parse_files.py

For run commands to store in a CSV, you can use pytest --co -q, and then collect them into a file, and then parse them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
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