## What are Unit Test Patterns?
Unit Test Patterns are standardized methods or techniques used to write effective unit tests. They provide solutions to common problems that occur during the process of unit testing. These patterns can help in creating tests that are self-checking, repeatable, independent, and able to fully exercise the functionality being tested. They can also help in identifying and isolating faults in the code. Some examples of unit test patterns include setup-teardown, mock objects, test suites, and parameterized tests.
- Pass-Fail Patterns
- [[Simple Test]]
- Code Path
- Parameter Range
- Data Driven Test Patterns
- Simple Test Data
- Data Transformation Test
- Data Transaction Patterns
- Simple Data I-O
- Constraint Data
- Rollback
- Collection Management Patterns
- Collection Order
- Enumeration
- Collection Constraint
- Collection Indexing
- Process Patterns
- Process Sequence
- Process State
- Process Rule
- Simulation Patterns
- Mock Object
- Service Simulation
- Bit Error Simulation
- Component Simulation
- Multithreading Patterns
- Signaled
- Deadlock Resolution
- Stress Test Patterns
- Bulk Data Stress
- Resource Stress
- Loading
- Presentation Layer Patterns
- View-State
- Model-State
---
Source: [Unit Test Patterns by Mark Clifton](http://www.codeproject.com/Articles/5772/Advanced-Unit-Test-Part-V-Unit-Test-Patterns)