Introduction

Unit testing, done badly, can hurt your project more than it helps! In some cases, it may lead to project schedule delays and unhappy developers due to huge maintenance problems. But when unit testing is done right, it can help the project and developers’ confidence immensely.

The challenge? How do you do it in a way that is helping, rather than hurting your project?

In this coding-packed you will learn essential test driven skills and techniques for writing unit tests in a readable, maintainable and trustworthy fashion, so that you can feel more confident in your code, make it simpler, and save yourselves time in debugging and maintaining your code base. Further, you will look at some code design issues that hurt testability. So what can you expect? 

  1. You will learn how to write readable, maintainable, trustworthy unit tests using Javascript and node.js.

  2. You discover how to refactor code, and SOLID design concepts.

  3. You get to know the principles of Test Driven Development, and develop new features using TDD.

  4. You will learn how to Pair Program and experience it throughout the course

  5. You will learn about mocks, stubs, spies & fakes, and the difference between them

  6. You get a grip on testing frameworks (jest and Jasmine) and isolation (mocking) frameworks (sinon & jest mocks)

Already convinced? Then buy your ticket here!

Program 22 & 23 April 2020

Day 1: Beginnings 

  1. Units, entry & exit points
  2. The first unit test & a continuous testing environment
  3. Jest basics & Drills
  4. Writing readable, maintainable tests
  5. Test Driven Development Introduction
  6. String Calculator,Password Verifier Kata Drills
  7. Value based,  State Based and Interaction Based Tests
  8. Fakes, Spies Mocks and Stubs

  9. Hand Written Fakes, Stubs and Mocks 
  10. Faking Time & Drills

Day 2: Mocks, Stubs & Async 

  1. Faking other dependencies & Drills
  2. Jest.fn, jest.spyOn and other creatures
  3. Async in Tests & Drills
  4. Callback refactoring & Drills
  5. Faking whole modules & Drills
  6. Unit Testing Good Practices
  7. Code Review Drills

Practical Information 

Date

From Wed 22 April 9:00 AM to Thu 23 April 5:00 PM

Ticket price


Early Bird Pricing until 29 February 2020: 1000 EUR

Location & Parking

The training will take place at 

AE
Interleuvenlaan 27b
Researchpark 1250
3001 Heverlee

Private & free parking will be available.

Catering 

Each day a sandwich lunch will be provided. Drinks are self-service. There will be coffee, tea, soda, water,... available.


Contact information

If you have any questions about the training, please contact Danielle Glassée or Roy Osherove.

 

Buy your ticket