Test Driven Development: A Beginner’s Guide to TDD


Learn the Fundamentals of Test Driven Development with Real-World Examples

What you will learn

Test driven development

Refactoring

Unit Test

Code smells

TDD

Anti-patterns

SOLID principles

Design principles

Test doubles

Mocks

Stubs

Emergent design

Description

Are you looking to give your first steps with Test Driven Development? Looking to accelerate your coding process and build more robust code? Are you looking for TDD real world examples? Our online course, “Test Driven Development: A Beginner’s Guide to TDD,” is the perfect introduction to this powerful approach. Learn how to write tests before writing code, making your development process more efficient and helping you catch errors before they become bigger problems.

This course is designed for beginners in Test Driven Development (TDD), but it’s recommended that you have some prior knowledge in programming languages and a basic understanding of object-oriented programming concepts. Starting from scratch, you’ll progress step-by-step through the course material. While the examples in this course are written in Java, the concepts can be applied to any programming language. The code examples are explained in detail and can be easily understood by programmers of other languages, such as PHP, Python, .NET, or others.

Whether you’re new to unit testing or struggling with the basics of unit tests and TDD, this course is for you. Together, we’ll develop the right mindset for working with TDD.

Requirements

  • Basic programming knowledge
  • Object oriented programming
  • For the project: It’s required to know Java, but if you are very skilled in some other programming language you may be able to adapt it and follow the project in other programming language.

What you will learn?


Subscribe to latest coupons on our Telegram channel.

  • Test driven development
  • Refactoring
  • Code smells
  • TDD
  • Anti-patterns
  • SOLID principles
  • Design principles
  • Test doubles
  • Mocks
  • Stubs
  • Emergent design
  • Unit Test

What you will you create?

In this class you will:

  • Create unit test, implement and refactor for a Sales application.
  • You will download a base project with some existing tests and code and you will add more tests to implement new functionality.

This course is specifically for:

  • Developers of all languages who want to give the right first step with TDD.
  • Developer of all levels.
  • Developers that want to give their first steps with TDD.

This course is not suitable for:

  • People with mid-level or advanced in TDD.

Why taking the class? What you will gain?

  • Understanding the big picture of TDD
  • Understanding the right way to apply TDD.
  • Foundations to move forward to the next level and practice more on your own.
  • Hands-on experience after working in a sample project.
English
language

Content

Introduction

Introduction
Project Configuration
Project configuration details

Unit Tests

What is a Unit Test?
Unit Test Example
Good Unit Tests: FIRST

Emergent Design and Refactoring

Technical debt
Design upfront and Emergent Design
Refactoring – What to refactor?
Refactoring – How to refactor?

Test Driven Development

Introduction to Test Driven Development
TDD Development Cycle
Pros and Cons of TDD
Sales System – Part 1: Total amount with discount
Sales System Example – Part 2: Calculate Discount
Sales System Example – Part 3: Product on sale
Hints and Recommendations for TDD

Test Doubles, Mocks, and Stubs

Introduction to Test Doubles: Stubs and Mocks
Test Double Strategies
Stub Example
Test Code Patterns
Next steps
Recommended actions after the course
Bonus Lecture