hawk-launch

Practical Test-Driven Development in Java

$1,500.00

Three-day instructor-led hands-on training course in test-driven development in Java.

hands-on technical course, 3 days duration
SKU: TDDJAVALIVE Tags: , ,
Multi-seat discounts
2-3 seats: 10% | 4-7: 15% | 8-11: 20% | 12+: 25%

Product Description

Three-day instructor-led hands-on training course in test-driven development using the Java language for coding exercises.

After completing this course you will be able to…

growth
  • place TDD in its proper context in the development process
  • make informed judgments of when to use TDD, and know why you are using it
  • isolate code appropriately to enable automated unit testing and TDD
  • apply TDD both as a software design technique and as a unit-level regression testing technique.
  • develop new code in a test-driven fashion with both the classic and mockist styles of TDD
  • balance up-front design with emergent design based on context
  • recognize code smells and refactor code to address them
  • remediate monolithic legacy code with specific refactoring and testing techniques

Overview

  • Audience: Software developers (programmers, testers, architects)
  • Prerequisites:
    1. Some real-world experience in software development, support, and/or delivery.
    2. Basic proficiency in the programming language used in class.
  • Duration: 3 days
  • Format: Classroom environment with live instructor, in person

Class Agenda

Day 1 – morning

  • Introductions and logistics
  • Learning objectives
  • ESVP (Explorer – Shopper – Vacationer – Prisoner)
  • Initial coding exercise – FizzBuzz
  • Goals of a professional programmer
  • TDD overview video
  • Retrospective – how is the class going so far?

Day 1 – afternoon

  • Microtests
  • The TDD cycle (Red – Green – Refactor)
  • First TDD coding exercise – Prime Factors
  • Delivering vertical slices of functionality
  • Up-front design and emergent design
  • Development approach and “time until done”
  • Second TDD coding exercise – RPN Calculator
  • Retrospective – how was the first day? Anything to change for Day 2?

Day 2 – morning

  • A command-line interface for the RPN calculator
  • Is TDD a development technique or a testing technique?
  • Structure of an automated test case
  • What is a unit test?
  • Code isolation
  • Different ways of gaining confidence in our code
  • The test automation pyramid
  • Testing versus checking
  • Unit tests and the continuous delivery pipeline
  • Schools or styles of TDD
  • Third TDD coding exercise – ATM client

Day 2 – afternoon

  • Software design principles
  • Code smells
  • Refactoring demonstration
  • Refactoring exercise
  • Retrospective – How was the 2nd day? Anything to change for day 3?

Day 3 – morning

  • A few design patterns
  • Refactoring toward patterns
  • Is emergent architecture possible?
  • TDD and frameworks
  • TDD and COTS products
  • TDD and configurable application platforms
  • Living with large automated test suites

Day 3 – afternoon

  • Working with legacy code
  • Baking refactoring into your normal work flow
  • The case against unit testing and TDD
  • Course retrospective

To set up your development environment for the class: Setup instructions.

Reviews

There are no reviews yet.

Be the first to review “Practical Test-Driven Development in Java”

Your email address will not be published. Required fields are marked *