Treinamento TDD
-
Upload
diego-caxito -
Category
Software
-
view
136 -
download
0
Transcript of Treinamento TDD
Changing Software Reason
1. Adding a feature
2. Fixing a bug
3. Improving the design
4. Optmize resource usage
Working Effectively With Legacy Code
In software, when something is painful, the way to reduce the pain is to do it more frequently, not less
Continuous Delivery
Do push para a produção - Agile Brazil 2014
Type of Tests
Continuous Delivery
Do push para a produção - Agile Brazil 2014
Software testing pattern Ice-cream Cone Anti-Pattern
Watirmelon.com
Diferent tests can be overlap
Pragmmatic not dogmatic TDD
Ideal
Watirmelon.com
Unit test
“Unit tests is the idea that they are tests in isolation of individual components of software.”
Good Unit Test
It should be automated and repeatable.
It should be easy to implement.
Once it’s written, it should remain for future use.
Anyone should be able to run it.
It should run at the push of a button.
It should run quickly.The art of uniting testing
Como a prática de TDD influencia o projeto de classes em sistemas orientados a objetos.
Como a prática de TDD influencia o projeto de classes em sistemas orientados a objetos.
Jasmine
● describe● it● expect
○ toEqual○ toBe○ not
http://jasmine.github.io/