Mais conteúdo relacionado
Semelhante a Front-End UnitTesting (20)
Mais de Artyom Trityak (16)
Front-End UnitTesting
- 2. Why?
❖ Regressions testing is too long!
❖ Short sprints issues!
❖ Dangerous refactoring!
❖ Test API usability!
❖ Отличная отмаза: «Что делаете? Пишем тесты!»
- 23. Sinon.js: Fake and Test
❖ Fake timers: sinon.useFakeTimers();!
❖ Check calls: spy, .calledWith(…), .callCount() etc;!
❖ Have fun