I recently received an inquiry about us having a Unit Testing/Test
Driven Development class. I offered the following class outline as a
possibility:
Overview:
Four, 3-hour sessions in an online, instructor led, evening class (6pm
- 9pm) to introduce students to unit testing, refactoring existing
code to make it testable, implement a design with Test First
Development, and using Test Driven Development to drive the design.
(Test First Development and Test Driven Development are often used
interchangeably, but there's a subtle difference. In this class, we'll
use TFD tests to drive coding a design and use TDD to drive both the
design and code.)
The class will start next week (week of 10 Oct), to be held either
Monday, Wednesday, or Thursday evening. (I will send you a Doodle poll
to pick a day should you express interest in the class.) There will be
no class the last week of October as I will be at the SpringOne/2GX
conference in Chicago that week.
The cost of this 4-week class will be $129, but a $30 alumni discount
(net price: $99) is available to any Gateway JUG member who has
attended any previous Gateway JUG class.
We'll need a minimum of 8 students to make this class a go.
Sessions:
Session I - Introduction to Unit Testing
- Types of Automated Testing
- Overview of JUnit & TestNG
- JUnit 4.x in Depth
- Lab (~1 hour): Getting Started with Unit Testing
Session II - Testing Existing Code
- Introduction to Refactoring
- Common Refactoring Techniques
- Mocking Collaborators with EasyMock
- Lab (~1.25 hours): Refactoring and Testing An Open Source Class
Session III - Test First Development
- Thinking Test First
- Writing tests first to guide design implementation
- Lab (~1.50 hours): Starting with a simple design, write tests to
reveal the needed production code. No more, but no less.
Session IV - Test Driven Development
- How Tests Can Drive Design
- Writing tests first to guide design development and implementation
- Lab (~1.75 hours): Starting with a simple functional specification,
write tests to reveal the needed design and production code
If you are interested, please e-mail me at
pres...@gatewayjug.org.
Let me know what Gateway JUG class(es) you have attended. I will send
you a Doodle poll so we can pick an evening to meet. If enough people
express interest, I will send everyone who wants to participate a
registration link.
Thank you for your interest.
Jack Frosch
President, Gateway JUG