http://prezi.com/h6klz_cq_vkd/unit-testing-styles-and-mockito/
Starts with a unit-testing styles and then describing some interesting parts of mockito.
You need to know what you test:
- Verify State:
- Verify Behaviour:
Different mocking components:
- Dummy Objects
- Not actually of any production use, but can fill up parameters.
- Fake Objects:
- Stubs:
- Canned answers:
- Mocks:
Book recommendation:
XUnit Test Patterns - Gerard M
Legacy code: Capture what the legacy system produces as a result and use that as expected in a unit test.
Purpose:
- To verify that I do not break anything
- To learn about the legacy code.
- To see changes.
Book Recommendation:
Working effectively with Legacy Code: Michael Ferris
The talks ends with interesting discussions and questions:
Better to write code that can be tested than code that is private.
To change code you have to have tests.
Playstar is a newer moderen|a more recent} on line casino that offers distinctive and fun experience. Handpicked, high-RTP jackpot video games and the best software providers are a number of the} causes to sign-up now. Disorder prevalence estimates could also be} related to evaluation measures and different components. However, most studies report lifetime prevalence estimates starting from 0.4% to 3% within the basic inhabitants, representing approximately 2 to 3 million adults within the United States. Any wagering 카지노사이트 occasion for which there is a short time|a quick while} interval between putting the guess, taking part in} the sport, and studying the result result}.
SvaraRadera