Notes
Unit testing with Jasmine
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
- Tags
- Rating