Advanced TDD
in JavaScript

This course follows on from our TDD Fundamentals in JavaScript course, and covers more advanced topics, helping developers to write more maintainable tests and to apply the TDD practices to existing code.

Learning Outcomes

  • How to create and use test data builders
  • How to do TDD on existing code
  •  - How to locate seams in existing code
     - How to break apart dependencies to allow you to introduce test doubles
  • Advanced stubbing/mocking techniques, and when to use them

We usually use the following tools to teach this course:

  • Node.js
  • Jasmine
  • Karma
  • A text editor of your choice

If we run the course at one of our training venues then we provide all the required tools (although you can bring your own text editor if you would prefer). If we run the course at a customer venue then the customer will need to provide these tools in order to run the course. Please contact us if you have any questions about this.

This course has a prerequisite of all delegates having done the TDD Fundamentals course or having real-world experience doing TDD in practice.

Test Driven Development