GoConqr has a new look! Let us know what you think.

Notes

Unit testing with Jasmine

James Drummond Application, build, testing and deployment A-Level English 1 page

Content of the notes (1)

Page 1

Jasmine spies Basically you're looking to mock or stub a given function.

You can

- check if the function is called.

- See what arguments were used

- Create a fake version of the function for testing

- Test if the function was called

- Call through the real function

Information

Description
A-Level Application, build, testing and deployment Note on Unit testing with Jasmine, created by James Drummond on 17/05/2015.
Created by
James Drummond
Views
22
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?