Java TDD step by step

Learn Java TDD step by step! Test Driven development become easy with code examples and comprehensive tutorials
3.7 (11 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
26 students enrolled
Take This Course
  • Lectures 15
  • Length 1.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2016 English

Course Description

This course is still under development, you can get its Early Access Version (EAV)


  1. Step by step introduction in Java TDD
  2. Real application development
  3. Agile / SCRUM user stories
  4. Example of a simple feature implementation with TDD
  5. Example of a complex feature implementation with TDD
  6. Example of a change request implementation & bug fixes with TDD [Still under development]


Do you want a discount? Tweet about that: I want a discount for "Java TDD step by step" by @Fruzenshtein

I'll send you a promo code in 24 hours!



  1. Installed Java (JDK 8 or higher)
  2. Installed Intellij IDEA (Eclipse or NetBeans as alternatives)
  3. Experience with Java (more than 6 months)


  1. Junior Java developers
  2. Middle Java developers
  3. Senior Java developers (just if you want to recall and summarise some TDD things)

What are the requirements?

  • Java basics

What am I going to get from this course?

  • Use TDD on real project
  • Apply TDD to simple user stories
  • Apply TDD to complex user stories
  • Perform efficient code refactoring
  • Use TDD in Agile / SCRUM

Who is the target audience?

  • Junior Java developers
  • Middle Java developers

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: First step

This video describes a high-level architecture and dependencies of a financial application which will develop during the course. Also we make an overview of TDD steps which lay in a base of the course.

Section 2: TDD for a simple feature

In this lecture introduced a first user story about the Account. We will learn how to analyze a functionality in order to define which tests need to be developed for it.


In this video we will make an overview of the project setup in Intellij IDEA. Also we will look at all Maven dependencies, in order to understand what is a role of each of them. Then we will make an overview of a project structure.


In this video lecture we will create a first unit test for a default Account creation. In the end of the lesson you will get a first GREEN test!


In this video lecture we will create a test for a custom Account creation. It's pretty harder than the first test, but you will get all code examples and understand each step of the tutorial.


In this video lecture we create a test for a negative balance handling. It's very important to verify not only positive scenarios.


It's refactoring time. In this video lecture we need to perform a refactoring after all of the tests were created and the code is ready.

Section 3: TDD for a complex feature

In this video lecture we start working on a new user story which implies creation of multiple classes with dependencies. So it's very important to analyze the new user story and define which tests need to be created and an order of implementation.


In this video we will create the Transaction class and explain why tests are not always first and required at all.


In this video lecture we will create the TransactionStorage class and a test for it. 


In this video lecture we start working on the most important class in the user story. We will create a positive test for the Terminal.


In this video lecture we continue working on the Terminal class and create negative tests for it.


Refactoring in this section is really hard, so we need to focus on all bad parts which we have done during the development and refactor them well.


Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Alex Zvolinskiy, Java / Scala developer, QA automation lead

My name is Alexey Zvolisnkiy aka Alex Fruzenshtein. I'm a Java / Scala developer and a test automation lead. I started a programmer career in 2006. I've worked at European and US software companies and startups, attended at conferences as a speaker, conducted trainings. You can find more information about me on LinkedIn and on my blog.

My favorite areas of development are back-end solutions, API design, test automation of web UI and web-services. I'll be really glad to answer to all of your questions regarding my courses. 

Ready to start learning?
Take This Course