This guide book is about unit testing.
Major Sections
I -- Concepts
II -- Simplest Testing
I -- Concepts
Chapters
101 - Purpose of Unit Testing
102 - Unit Testing
Chapter Indexes
101 - Purpose of Unit Testing
102 - Unit Testing
Unit Testing Lingo/Jargon
Overview
General Unit Test Pattern 💡
Showstopper Bugs 🐞
Story of a Showstopper Bug
What Are Showstopper Bugs?
Examples
Patterns
Avoiding Showstopper Bugs 😊
Smoke Tests 🔥
Purpose
Definition
Examples
Functional Test
Testing Lessons Learned
Start with 'Smoke Tests' to Find 'Blocker Bugs'
Continue with Functional Testing
Do Not Put Test Code in Same Directory as Domain/Model Code
Test Objects (Not Just Primitives)
Equals Over '=='
Collections Take Special Care
Test Code Styles
Overview
Example Tests (Different Test Strategies)
Simple Unit Test Examples
Overview
Examples
Example 1 -- Testing with Primitives
Example 2 -- Testing with Proper Objects
II -- Simplest Testing
Chapters
201 - Unit Testing I -- Smoke Testing -- Coding
202 - Unit Testing - Smoke Tests - Bug Finding
Chapter Indexes
201 - Unit Testing I -- Smoke Testing -- Coding
Unit Testing Lingo/Jargon
Objectives
Basis for Smoke Test Code
Unit (Model)
Smoke Test General Pattern
Smoke Tests
Try the Example
Let's Go Bug Hunting
202 - Unit Testing - Smoke Tests - Bug Finding
Objectives
Examples and Challenges
Unit Testing
Unit Testing
Quick Index
Top
Search Site