O'Reilly logo

AngularJS Directives by Alex Vanston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

So now we've introduced Karma, gone over its basic configuration options, and looked at the basics for both unit and E2E testing. While unit testing allows us to validate the data-model, E2E testing lets us test what the user actually sees, in a way that's fast and reliable. Next, we'll dive into unit testing in more detail, looking at how we can use it to ensure both accurate and corrupt data is handled cleanly by our directives.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required