TT-3500 --- Test Driven Development Using JUnit
Overview
This four-day, comprehensive hands-on workshop is geared for developers who need to get up and running with essential Test-driven development programming skills using JUnit and various open-source testing frameworks.
Objectives
This four-day, comprehensive hands-on workshop is geared for developers who need to get up and running with essential Test-driven development programming skills using JUnit and various open-source testing frameworks. Throughout the course students learn the best practices for writing great programs in Java, using test-driven development techniques. This comprehensive course also covers essential TDD topics and skills.
PreRequisites
- Attendees should be familiar with Java and object-oriented technologies. Real world programming experience is a must.
Who Can Benefit
.
Duration
4 Days
Test Driven Development Using JUnit (TT-3500) Content Details
|
| |
| |
- Overview of Test-driven Development
- The Problem
- The JUnit Solution
- Test, code, refactor, repeat
- The ROI of TDD
- Rationale
- Advantages
- Tools
|
|
- Integration Testing: jWebUnit/HttpUnit
- Presentation testing
- Integration testing
- jWebUnit
- jWebUnit/HttpUnit
- Testing Struts: StrutsTestCase
- Design of a Struts application
- StrutsTestCase
- Testing strategies
|
|
- Mock Objects and EasyMock
- Decoupling with Mock Objects
- Mock object frameworks
- EasyMock and JUnit
- Dependency Injection, Spring and Testing
- Dependency Injection and IoC
- The Spring Framework
- Mock Objects and Spring
- State-based vs. Interaction-based Testing
- State-based testing
- Interaction-based testing
- Dependencies vs. mock objects
- Interaction-based Testing
|
|
| Improving Code Quality Through Refactoring |
- Refactoring
- Basics
- Samples of Refactorings
- Refactoring and Testing
|
|
|
|
| Additional Testing Frameworks |
- Database Testing: DBUnit
- Issues related to database testing
- Persistence mechanisms
- DBUnit
|
|
| Introduction to Spring (optional) |
- The Spring Framework
- Spring Basics
- Configuring a Spring bean
- Property Editors
- Constructor injection vs. Setter injection
- Wiring the collaborators
|
|
| Advanced Refactoring (optional) |
- Advanced Refactoring
- Refactoring to Design Patterns
- Sample Refactorings
- Best Practices
- Refactoring
- Naming conventions
- Organizing test suites
|
|
| Advanced Topics (optional) |
- Testing Business Rules
- Fit
- Fitnesse
- Selenium
- Adding Testing to Your Build Process
- The Ant JUnit Tag
- Example Ant Build File
- Continuous Integration
|
|
| Additional Testing Frameworks (optional) |
- Server-side Testing: Cactus
- Server-side testing
- Cactus: mock-container testing
- Cactus: in-container testing
|
|
|
|
Interested in any of our courses. Use this form to contact us