| Module1 |
Fundamental of Unit Testing
- What is Unit Testing
- The benefit of Unit Testing
- Unit Testing Process
- Needs for automated Unit Testing
- JTest eats JUnit
|
| Module2 |
Intro of Java Based Unit Testing Framework
- JUnit
- HttpUnit
- TestNG
- JUnitEE
- Cactus
Java Based Unit Testing Technique Intro
- Test your equals¡¯ method
- Test a method that returns nothing
- Test a constructor
- Test a getter
- Test a setter
- Test an interface
- Test a Java Bean
- Test throwing the right exception
- Test a big object for equality
- Test an object that instantiates other objects
|
| Module3 |
Organizing and Building JUnit tests
- Build tests using Ant
- Create a separate source tree for test code
- Move special case tests to a separate test fixture
Testing Design Pattern
- Test an Observer (Event Listener)
- Test an Observable (Event Source)
- Test a Singleton
- Test an Object Factory
- Test a template method¡¯s implementation
|
| Module4 |
Unit Testing Strategy
- Too Simple to Break
- Strangeness and transitivity
- solate expensive tests
- The mock objects landscape
Automated Unit Testing by JTest
- Code Inspections ( Wizard & Rule Checking)
- Quick Fix vs. Manual Fix
- Generate Test Case
- Making Custom Test Case
- Measure of Test case using Code Coverage
- Management Test Case Directory
- Execute Test Case
|