Unit Testing/Pytest



Pytest is a Python programming language test automation framework. Test automation is the use of software separate from the software being tested to control the execution of tests and the comparison of actual outcomes with predicted outcomes. Pytest uses simple assertion statements to test software accuracy.

Readings

 * 1)  Test automation

Multimedia

 * 1) YouTube: Python Unit Testing With PyTest
 * 2) YouTube: Code Coverage Tutorial with Python

Activities

 * 1) /Install Pytest/
 * 2) /Create an assert Test/
 * 3) /Create a unittest Test/
 * 4) /Test Input/
 * 5) /Test Output/
 * 6) /Test Exceptions/
 * 7) /View Test Coverage/