Foundations of Software Testing
💻

Foundations of Software Testing

★ Premium · 📖 72 lessons

A practical introduction to software testing using Python and pytest: unit tests, test design, integration and interface testing, smoke and regression testing, end-to-end and user acceptance testing, and code coverage best practices. Assumes working knowledge of Python.

← Back to Courses

Course Content

72 lessons
Module 1: Why Software Testing Matters 6 items
1.1
The Purpose of Testing
Video
1.2
Levels and Types of Testing
Video
1.3
The Test Pyramid and a Testing Strategy
Video
1.4
Finding Bugs by Hand
Lab
1.5
Your First Automated Check
Lab
1.6
Why Software Testing Matters Quiz
Quiz
Module 2: Getting Started with pytest 6 items
2.1
Python's Testing Tools
Video
2.2
Writing and Running pytest Tests
Video
2.3
Organizing a Test Suite
Video
2.4
From unittest to pytest
Lab
2.5
Organizing a Test Project
Lab
2.6
Getting Started with pytest Quiz
Quiz
Module 3: Unit Testing 6 items
3.1
What Makes a Good Unit Test
Video
3.2
Testing Real Behavior
Video
3.3
Test-Driven Development
Video
3.4
Unit Testing a Library Module
Lab
3.5
Building a Feature with TDD
Lab
3.6
Unit Testing Quiz
Quiz
Module 4: Fixtures, Test Doubles, and Isolation 6 items
4.1
pytest Fixtures
Video
4.2
Test Doubles
Video
4.3
Keeping Tests Isolated
Video
4.4
Fixtures and Temporary Files
Lab
4.5
Mocking External Dependencies
Lab
4.6
Fixtures, Test Doubles, and Isolation Quiz
Quiz
Module 5: Test Design Techniques 6 items
5.1
Choosing Test Inputs
Video
5.2
Testing Logic and Behavior
Video
5.3
Property-Based Testing
Video
5.4
Boundaries and Decision Tables
Lab
5.5
Property-Based Testing with Hypothesis
Lab
5.6
Test Design Techniques Quiz
Quiz
Module 6: Integration Testing 6 items
6.1
Testing Components Together
Video
6.2
Databases and Files
Video
6.3
Integration Test Practices
Video
6.4
Testing a Data Access Layer
Lab
6.5
Testing a Multi-Component Workflow
Lab
6.6
Integration Testing Quiz
Quiz
Module 7: Interface Testing 6 items
7.1
What Interface Testing Covers
Video
7.2
Testing a REST API in Python
Video
7.3
Contracts and Schemas
Video
7.4
Testing a REST API
Lab
7.5
Contract and CLI Testing
Lab
7.6
Interface Testing Quiz
Quiz
Module 8: Smoke, Sanity, and Regression Testing 6 items
8.1
Smoke Testing
Video
8.2
Sanity Testing
Video
8.3
Regression Testing
Video
8.4
Building a Smoke Test Suite
Lab
8.5
Regression Testing a Bug Fix
Lab
8.6
Smoke, Sanity, and Regression Testing Quiz
Quiz
Module 9: System and End-to-End Testing 6 items
9.1
Testing the Whole System
Video
9.2
Writing End-to-End Tests
Video
9.3
A First Look at Non-Functional Testing
Video
9.4
An End-to-End Workflow Test
Lab
9.5
Simple Performance Checks
Lab
9.6
System and End-to-End Testing Quiz
Quiz
Module 10: User Acceptance Testing 6 items
10.1
What User Acceptance Testing Is
Video
10.2
Writing Acceptance Criteria
Video
10.3
Running a UAT Cycle
Video
10.4
Acceptance Criteria as Executable Tests
Lab
10.5
Planning a UAT Cycle
Lab
10.6
User Acceptance Testing Quiz
Quiz
Module 11: Code Coverage and Best Practices 6 items
11.1
Measuring Code Coverage
Video
11.2
What Coverage Does Not Tell You
Video
11.3
Coverage Best Practices
Video
11.4
Measuring and Improving Coverage
Lab
11.5
High Coverage, Weak Tests
Lab
11.6
Code Coverage and Best Practices Quiz
Quiz
Module 12: Test Automation and Testing Strategy 6 items
12.1
Tests in a Continuous Integration Pipeline
Video
12.2
Maintaining a Healthy Test Suite
Video
12.3
Building a Testing Strategy
Video
12.4
A Local CI Pipeline
Lab
12.5
Final Project: Testing an Application End to End
Lab
12.6
Test Automation and Testing Strategy Quiz
Quiz