Download
News
- MineCraft on Raspberry Pi
- Flat pixels
- Oculus Rift
- Jason: JsFiddle http://jsfiddle.net/
- Patrick: telnet towel.blinkenlights.nl
- Jason: The Lean Startup (Kindle: http://amzn.to/157xbEl ), (Hardcover: http://amzn.to/12HwaDp)
- Patrick: Ender’s Game (Kindle: http://amzn.to/VcfVtD), (Paperback: http://amzn.to/Wg32hx)
Unit Testing
History
- 1956 “The Debugging Period”
- Testing associated with debugging
- 1957 - 1978 “Demonstration Period”
- Show software satisfies requirements
- 1979 - 1982 “Destruction Oriented Period”
- Testing should find errors
- 1983 - 1987 “Evaluation Oriented Period”
- Testing to measure quality
- 1988+ “Prevention-Oriented”
- Detect and prevent faults
Features
- Prove correctness
- Mocking
- Code Coverage (Statement and branch)
Strengths
- Establish a contract for the code
- Make sure there is no unreachable code
- Force writing testable code
- Can serve as programmatic documentation
Weaknesses
- Time consuming
- Establish constraints that may not be valid
- False sense of security
Tools
- Java
- JUnit
- EasyMock, Mockito
- C++
- cpptest
- gmock