Full Stack Web Development

VST15 Angular Application Testing Outside the Church of TDD

12/04/2018

4:15pm - 5:30pm

Level: Intermediate

Chris Klug

Developer

Active Solution

I hate writing tests! There, I said it. I think TDD gets in my way, and it annoys me! People who preach it annoy me. People who tell me that, "I just don't understand it," annoy me. Not to mention the ones that say, "Real professional developers use TDD." Unfortunately, this "religious" view on testing has also kept me away from writing tests in my Angular applications for years. Until I decided to give it a try on my own terms. And you wouldn't believe what happened next …

In this talk you'll get an introduction to testing Angular applications from a person that dislikes TDD with a passion. It won't be the usual sermon about how great testing is. It's all about testing Angular applications in a pragmatic way. It will give you enough to understand how to write the tests, but also information about what benefits different tests can give you, and why you might want to use them. Even if you don't like writing tests, like me, I have come to the conclusion that some of them actually make my development life less annoying.

DISCLAIMER: If you are a TDD person, you are more than welcome, but accept the fact that you will not see tests written up front. You might also want to know that there will likely be personal opinions expressed about testing that you do not agree with. It's purely about writing tests, and their potential benefits, and not about "religion."

You will learn:

  • What type of testing is available in Angular
  • What testing should be used for
  • How tests can benefit you even if you don't do TDD