Articles for "Testing"

Add Mocha reporter for Karma unit tests to your Angular CLI project

Change the default progress reporter to a nicer looking Mocha reporter

Juri Strumpflohner Juri Strumpflohner
2 min read

Talk: Testing with Angular - Some Recipes

My talk for Angular Hamburg on demoing some recipes for testing Angular applications

Juri Strumpflohner Juri Strumpflohner
2 min read

Learning Angular: Testing $q promise resolves with Sinon and Jasmine

See how you can stub an async call and make it return a resolved promise

Juri Strumpflohner Juri Strumpflohner
2 min read

Learning Angular: Unit Testing $watch expressions

There's a difference in writing unit tests for controllers using the $scope syntax vs. those using the 'controller as' syntax.

Juri Strumpflohner Juri Strumpflohner
4 min read

Avoid test code duplication in Jasmine tests

Treat your test code like your production code

Juri Strumpflohner Juri Strumpflohner
4 min read

See, always told you: testing is just a waste of time

About the flamed debate around the death of TDD and why it isn't an excuse for not doing automated testing

Juri Strumpflohner Juri Strumpflohner
8 min read

Automate your UI testing with Nightwatch

Automated UI testing awesomeness based on Node and Selenium

Juri Strumpflohner Juri Strumpflohner
5 min read