Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:2Length:12 minutes

Next lesson playing in 5 seconds

Cancel

Free Preview: Testing Angular End to End With Protractor and Cucumber

Introduction

00:44
  • Overview
  • Transcript

Unit testing is an important part of application development, but it only focuses on the individual units of your app, not how those units are wired together. You could have thousands of passing unit tests, but still have a buggy application. End-to-end testing, where different aspects of the application are tested together, is just as important as unit testing, and can reveal subtle bugs that arise from the connections between parts of the application.

In this Coffee Break Course, Envato Tuts+ instructor Dan Wellman will show you how to add end-to-end tests to an existing Angular app to verify its UI and behaviour. You'll learn how to use Cucumber and Protractor to write tests based on Gherkin feature files.

We've built comprehensive guides to help you learn JavaScript, AngularJS, and Angular 2, whether you're just getting started or you want to explore more advanced topics.

1.Testing Angular End to End With Protractor and Cucumber
2 lessons, 11:58

Free Lesson
1.1
Introduction
00:44

1.2
Testing Angular End to End With Protractor and Cucumber
11:14


1. Testing Angular End to End With Protractor and Cucumber

1.1 Introduction

[MUSIC] Unit testing is an important part of application development, but only focuses on the individual units if your app not how those units are wired up together. End to end testing, where different aspects of the application are tested together is just as important as unit testing, and can reveal subtle bugs that arise as a consequence of how the individual parts of an application are out together. Hi folks, I'm Dan Wellman and in this course we're going to look at how we can use the Gherkin feature files that make up the specification for an application, along with the protractor framework and Cucumber to write automated end-to-end tests for an angular application. Let's get started.