gdg passo fundo - apps with unit tests (karma + jasmine + angular)
TRANSCRIPT
PASSO FUNDO - RS
This talk is not about ...
● Why should I use apps written in HTML/JS/CSS ?
● Is hybrid apps better than platform ones ?
This talk is about ...
● TDD
● How to apply TDD to apps written in Js (Angular)
STEP1THEORY
T - TEST
D - DRIVEN
D - DEVELOPMENT
STEP2TECHNOLOGIES
● Framework for behavior-driven development
● Several features
● Easy to integrate with C.I
Jasmine
Jasmine
Karma is essentially a tool which spawns a web server
that executes source code against test code
for each of the browsers connected.
What feature would you like to have ?
WRAPPINGUP
● A lot of tests in seconds
● Many browsers support
● Refactor without fear
TDD IS NOT MAGICAL AND
DOES NOT RESOLVE ALL PROBLEMS
TAKES TIME TO GET USED TO, DON'T GIVE UP. PERSIST !