Implementing Test-Driven Development
105
Course Code:
In this course, You will learn how to implement TDD on a project developing in either java, .net or ruby or C++ framework. Workshop also covers how to effectively work on legacy code and break dependencies.
5 Days
Advanced
Learning Objectives
Introduction to Unit test, unit test characteristics.
Test Driven Development – why, what and how.
TDD Cycle – Red, Green and Refactor.
Drive the development (design and implementation) of a User Story.
Learn concept of Emergent Design and why emergent design.
How TDD helps you design software.
Why testing first is better than testing after.
Overview of Refactoring, Clean Code principle and Refactoring to Patterns.
Software design – going deeper in SOLID design Principles.
How to use mocking frameworks.
Behavior Driven Development using SpecFlow/Cucumber.
Specification by Examples using Gherkin language.
Writing Scenarios and Scenario Outlines.
Preparing Steps using xUnit framework.
Difference between TDD and BDD.
How to setup BDD practices within Scrum team.
Prerequisites:
Prior testing experience and knowledge of testing tools
Intended Audience
This course is for Developers, Testers, Architects & Leads & Scrum Masters.
Course Outline:
Module 1: Unit Testing
What is unit testing?
Why is unit testing needed?
Difference between Unit Testing and Integration Testing
Developer and Tester role in Unit Testing
Module 2: Test Driven Development workshop
Design of the TDD approach and its benefits
Improving the quality and design of the code by testing
Different types of tests: unit, integration, functional
Understand the life cycle of a test in the xUnit framework
Respect for the principle of isolation and control of test results
Module 3: Refactoring
Consequence of technical debt and risk of "breaking" the code
Where? When? How refactoring?
Support of TDD and ATDD during refactoring
Best practices and limitations
Definition and principles of frameworks
Emergent Design
Principle of scalability and implementation
Design Patterns and Principles
Understanding SOLID design Principles
Module 4: Test Double and Mocking
What is Test Double and when to use it?
What is Mocking?
Mocking framework in practice
Refactoring patterns
Working effectively with legacy code
Program Highlights
Highly engaging & interactive sessions
70% Hands On
Quizzes & Assessments
24*7 Support
Why TechEd Trainings?
​Handcrafted Content
Professional Trainers
Hands On Labs
Seamless Delivery