CLASS 04
REVIEW, RESEARCH AND DISCUSS
Test Driven Development Advantages
-
Better program design and higher code quality.
-
Reduces the time required for project development.
-
Save project costs on the long run.
In What Case Do We Use beforeEach()
or afterEach()
?
- If you have some work and you need to do repeatedly test for many tests
Test Driven Development Disadvantages
- More time consuming and costly
Why REST?
- Provide great deal of flexebility
- Data is not tied to method or resourses
- Can handle multiple types of calls
- Return different data formats