Data driven testing (aka DDT) is a popular technique where you keep your test data separate from tests. DDT can be used in unit and E2E tests and is a very useful approach in test automation.
ddt python library is used in this video:
ddt.readthedocs.io/en/latest/
Alternatively you can use parametrize from pytest:
docs.pytest.org/en/7.3.x/how-to/parametrize.html
Subscribe to our channel go get weekly tips on programming, testing, test automation and soft skills.
For more information, visit our Web site: introvert-it.com.
There you can find more information about upcoming events and courses.
If you have any questions, you can contact us using this e-mail: [email protected]