Publication date : 01/29/2024

Course : Test Driven Development in C#

Practical course - 3d - 21h00 - Ref. TDN
Price : 1650 € E.T.

Test Driven Development in C#




This course covers individual, pair and team practices. It teaches emergent design, refactoring of existing code and good coverage of automatic testing. It explains automatic functional testing, carried out in collaboration with functional experts and testers.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. TDN
  3d - 21h00
1650 € E.T.




This course covers individual, pair and team practices. It teaches emergent design, refactoring of existing code and good coverage of automatic testing. It explains automatic functional testing, carried out in collaboration with functional experts and testers.


Teaching objectives
At the end of the training, the participant will be able to:
Write automatic tests.
Test isolation.
Test-driven development.
Behavior-driven development.
Refactoring under test.

Intended audience
This course is aimed at engineers or technical leaders, architects, managers and project leaders in software development.

Prerequisites
Practical object programming in C#.

Practical details
Hands-on work
Alternating conceptual sequences and practical work.

Course schedule

1
Agility

  • The manifesto for agile software development.
  • Agile principles.
  • The signatories of the agile manifesto.
  • Not one, but many agile methods and practices.
  • eXtreme Programming.
  • Turn the test pyramid upside down.
  • Agile testing framework.
  • Integrated proof: deliver code and proof of operation.

2
Automatic tests

  • Test typology. Automatic tests.
  • Use of NUnit test library or equivalent.
  • Arrangement Action Assertion.
  • Principle of test isolation for reproducibility.
  • Separating production code and tests. Purpose and contract.
  • Create a test on production code.
  • Name a unit test.
  • Roofing as a development tool.
Hands-on work
Live coding and automatic test development exercises.

3
Test isolation

  • Notions of Fake, Stub & Mock.
  • Insulation of a component to be tested.
  • Isolating an integration to be tested.
  • Insulation tools.
  • Practical extract & override.
  • Use of Moq library or equivalent.
Hands-on work
Live coding and extract & override and mock exercises.

4
Test-driven development

  • TDD test driven development.
  • Baby step.
  • Finding a path to functionality.
  • Use assertions to code.
Hands-on work
Live coding and TDD exercise.

5
Behavior-driven development

  • Communication problems. User history, acceptance criteria.
  • Functional testing.
  • ATDD Acceptance Test Driven Development.
  • Specification by example. 3 amigos strategy for a better dialogue. Sharing understanding of the business domain.
  • Specifications and recipes in one continuous process. BDD Behavior Driven Development.
  • Features and Steps. The BDD cycle.
  • Use the Specflow library or equivalent.
  • Behavior-driven development.
Hands-on work
Live coding and BDD exercise.

6
Development in pairs

  • Pilot & co-pilot style.
  • Ping pong style.
  • Mutual support.
  • Constant negotiation.
Hands-on work
TDD development exercise in pairs.

7
Refactoring under test.

  • Historical code. Technical debt. Analysis Paralysis.
  • Code that's 2 years old should be better than code that's 2 weeks old.
  • Stop generating even more technical debt.
  • The Boy Scout principle.
  • Smoke and characterization tests. Parallel testing. Notion of code smells.
  • A reminder of the SOLID principles of object-oriented programming.
  • Improve where you work first.
  • Use of automatic refactoring with Resharper or equivalent.
Hands-on work
Live coding and refactoring exercise.


Customer reviews
5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
LAURENT S.
20/10/25
5 / 5

Good balance between theory and practice.
GAËTAN L.
20/10/25
5 / 5

The content was very good, the trainer took the time to explain everything and to try and bring up our personal experiences so that we could adapt the training to our own contexts.very good trainer, educational and efficient.the short support provided by the site was not up to date though.
TANGUY L.
20/10/25
5 / 5

Very good training



Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 16 Mar., 8 June, 19 Oct.

PARIS LA DÉFENSE
2026 : 16 Mar., 8 June, 19 Oct.