Part 1: Introduction and Testing Fundamentals
Introduction
Why Testing Matters
Real Impact of Testing
The Testing Pyramid
Why This Ratio?
Types of Software Testing
1. Unit Testing
2. Integration Testing
3. API Testing
4. End-to-End Testing
5. Performance Testing
6. Contract Testing
7. Security Testing
Testing Frameworks for TypeScript
Jest
Other Popular Frameworks
Test Structure Best Practices
The AAA Pattern
Descriptive Test Names
One Assertion Per Test?
Test Organization
Project Structure
Naming Conventions
Test Coverage
Understanding Coverage Metrics
Coverage Targets
Viewing Coverage Reports
Common Testing Mistakes
1. Testing Implementation Details
2. Dependent Tests
3. Ignoring Test Failures
4. Not Testing Error Cases
Key Takeaways
What's Next?
Last updated