Apuntes
Unit testing with Jasmine
Contenido del apunte (1)
Página 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
Información
- Descripción
- A-Level Application, build, testing and deployment Apunte sobre Unit testing with Jasmine, creado por James Drummond el 17/05/2015.
- Creado por
- James Drummond
- Visitas
- 22
- Etiquetas
- Valoración