Unit Testing/Pytest
Appearance
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.[1] Pytest uses simple assertion statements to test software accuracy.[2]
Readings
[edit | edit source]Multimedia
[edit | edit source]Activities
[edit | edit source]- Install Pytest
- Create an assert Test
- Create a unittest Test
- Test Input
- Test Output
- Test Exceptions
- View Test Coverage