Testing is a craft that requires not only effort of a test team. Also developers are obligated to take their share into testing. While wanting to increase the awareness of testing within our development team, I picked up the book “Developer Testing”, written by Alexander Tarlinder. As the title sais, it focuses on what a developer can do to increase the quality of his or her software by testing. In this post I will shortly describe the book and what you could benefit from it.
Read More…
Posted in
Books at January 8th, 2020.
No Comments.
The singleton pattern is a widely used design pattern, which allows us to have only one instance of a class. Although using a singleton can have its benefits, there also a number of drawbacks which should convince you to use singletons wisely. Due to the drawbacks of the singleton pattern, this pattern is also referred to as a anti-pattern. An anti-pattern is a design pattern, which is in some ways in-effective or has drawbacks.
Posted in
Design patterns at January 8th, 2014.
No Comments.
There are different levels of testing a programmer can do, the must read Code Complete differs the following types of tests: unit testing, component testing, integration testing, regression testing and system testing. The terms unit testing and component testing are quite confusing to most people.
Within unit testing you use stubs and mocks to test directly your code. The code is tested in isolation. Typical things you want to stub are hardware, networks or databases.
Component level testing is situated at a higher level. You remove the stubs and mocks and test your code against the real thing. So you remove the stubbed hardware interface and put a real device to the test.
Posted in
TDD at July 21st, 2013.
No Comments.