Pytest – Conclusion


Pytest – Conclusion


”;


This tutorial introduced you to pytest framework. Now you should be able to start writing tests using pytest.

As a good practice −

  • Create different test files based on functionality/module being tested.
  • Give meaningful names to test files and methods.
  • Have enough markers to group the tests based on various criteria.
  • Use fixtures whenever needed.

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *