Description
Course info
Rating
(760)
Level
Beginner
Updated
Jul 9, 2014
Duration
1h 17m
Description

In this course, you will learn how to create software using Behavior Driven Development, a test-first, agile approach to creating Angular programs using Jasmine.

About the author
About the author

Jesse Liberty is a Senior Consultant at Wintellect, where he specializes in Xamarin, Azure and Web development. He is a Certified Xamarin Developer, a Xamarin MVP and a Microsoft MVP.

More from the author
Visual Studio for Mac
Beginner
1h 19m
Apr 16, 2018
More courses by Jesse Liberty
Section Introduction Transcripts
Section Introduction Transcripts

Getting Started
Hi this is Jesse Liberty from Pluralsight. In this module, Getting Started, we're going to dive right in and start doing tests specifications for behavior driven development.

Spy vs. Spy
Hi this is Jesse Liberty continuing with AngularJS testing from scratch. Now that we have the fundamentals of testing AngularJS under our belt, it's time to look at a couple advanced techniques. Matchers are the mechanism used in expect statements. Jasmine comes with a number of built in matchers, such as toBe, we've seen that already, expect such and such to be five and a host of others. But it's also very straightforward to create your own custom matchers. And we'll take a look at what's involved in doing so. We'll then go on to discuss what other testing frameworks called doubles, fakes, and mocks and in Jasmine is called Jasmine spies. A spy is a special type of function that records all of the interactions that happen with it. They are incredibly useful when a returned value or change in an object state cannot be used to determine if a test expectation succeeded. (waiting)