Notizen
Unit testing with Jasmine
Inhalt der Notizen (1)
Seite 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
Informationen
- Beschreibung
- A-Level Application, build, testing and deployment Notiz am Unit testing with Jasmine, erstellt von James Drummond am 17/05/2015.
- Erstellt von
- James Drummond
- Aufrufe
- 22
- Tags
- Bewertung