Test Driven Development in Java

Do defects show up late in your development cycle?

Do you know when:

  • Your codebase changes?
  • Stories aren’t done?
  • New features are wrong?

Test Driven Development can help.

Most developers know they should write automated tests for their code. Few do. The reason? “Because it takes too long, and the code is finished anyway by then.”

TDD uses a simple 3-step process called the “Red-Green-Refactor” pattern to ensure tests get written, code does what the tests expect, and duplication of code is reduced. When practiced regularly over time, this builds up a large suite of unit tests that ensure we know when code has been changed. It also helps us know if code continues to do what we originally expected.

While the practice is simple, the implementation may be complicated. This course will help you navigate the waters of software development in the vessel of TDD. We’ll dive into practices, techniques and solutions that lead to success with TDD and software delivery.

Each live session will be recorded and available 24/7 for registrants. Once a week, we’ll have an office hour where registrants can bring the challenges of implementing TDD in their workplace.

What you’ll learn:

  • How to write unit tests
  • Create tests before coding
  • Testing for exceptions
  • Using reflection
  • Refactoring
  • Red-green-refactor
  • Code by intention
  • Test doubles (mocks, stubs, and others)
  • Popular java mocking frameworks (Mockito, JMockit, EasyMock, and others)
  • Mockists vs Classicists

Who:

  • Developers
  • Test Automation Engineers
  • Testers
  • 1+ years experience in a programming language

When:

Contact us when you’re ready!

Where:

Onsite at your offices

Languages:

  • Java
  • C#
  • Javascript

What others are saying:

“It was a truly wonderful experience.”

“I never thought of writing a failing test first and that has become a great help now.”

“Excellent course.”

 

Paul Merrill or associate facilitate this course. He’s worked the better part of 2 decades as software engineer and test automation engineer using techniques like TDD to instill high levels of quality into software products. He has taught TDD to over one hundred software engineers over many years and offered this course for multiple corporate clients since 2011. Paul is a frequent speaker at many major Development and Testing conferences. Paul is Principle Software Engineer in Test and Founder of Beaufort Fairmont, LLC. He works with clients daily to speed up software delivery while reducing risk to companies and their customers with numerous techniques in addition to TDD.