Angular Unit Testing Tricks and Tips

Learn how to successfully unit test your Angular apps and avoid the common pitfalls.

£320 + VAT

29 September
Avonmouth House, London (map)

In this workshop we will cover how to successfully unit test your Angular apps. We will look at common testing tasks and how to avoid the pitfalls when writing unit tests. The workshop content will be based on the latest version of Angular.

Topics covered

You will learn how to:

  • use the Angular test helpers such as the TestBed
  • create effective unit tests for Services, Pipes, Directives and Components
  • write tests that handle asynchronous code
  • use best practices for tests that involve Dependency Injection, Observables, Routing, Lifecycle Hooks
  • keep your tests maintainable so that they can be worked on by other developers months and years later


This workshop is suitable for developers who:

  • have a basic understanding of Angular
  • are looking to start or improve their unit testing


You will need:

  • your own laptop - you will be hands-on building and testing code
  • a basic understanding of Angular - the course does not teach Angular from scratch
  • a desire to make the world a better place (through testing)

Please note that this course will not cover writing end to end tests with Protractor.

Training venue

This workshop will take place at Avonmouth House – a purpose-built training venue located between Borough and Elephant & Castle in London. We offer dedicated WiFi and provide breakfast on arrival, drinks and snacks throughout the day, plus a sit-down hot lunch.

See venue on the map

Course tutor

Pete Bacon Darwin

Pete is a core member of the Angular team. He has the led development of Angular 1 since the end of 2014, releasing Angular versions 1.4, 1.5 and 1.6. He has written a book on AngularJS, gives talks and workshops on Angular and is a co-organiser of AngularConnect.

Pete Bacon Darwin

By registering for this event, you agree to our Terms and Code of Conduct.