What you'll learn:
- Develop Unit Test Cases
- Develop Test Suites
- Run Test Cases
- Ignore & Skip Test Cases
- Developing Tests using "unittest" module
- Developing Tests using "pytest" module
- Generating Results in XML Format (pytest)
- Generating Results in HTML Format (pytest)
You might be wondering what this course is about? Well, this course is all about Unit Testing with Python and how it can help you become better at the art of programming. In other words, this course will teach you how to use Unit Testing to improve code quality and support future development.
Unit tests should provide immediate value in terms of reduced debugging and better design, which is why it’s a skill that should be mastered by all python programmers, regardless of their career path. This course will show you how to write unit tests for your code in Python! The course is designed to be practical with hands-on examples you can use right away.
Good unit tests should provide immediate value in terms of reduced debugging and better design, and increase your confidence in the code.
A lot of people can learn to write unit tests with this course, regardless of their career path. To help you get started, you get a 30-day money back guarantee on your purchase
You will learn:
Understand the terms: Test Case, Test Suite, Test Runner, Unit Under Test and Test Fixture.
Write Unit Tests
Running Unit Tests
Writing Test Suite
Skipping and Ignoring Unit Tests
Setup and TearDown
Test Discovery
Handling Known Errors
Best Practices