Unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application.
16
votes
4answers
707 views
Developing Unit Tests While Refactoring Legacy Code?
I have a big code library that I need to refactor in order for it to fit more nicely together (one big problem is there aren't clear enough boundaries between each component). Since there will be ...
5
votes
4answers
565 views
What is really tested in an integration test?
what is really the difference between a component/unit test and an integration test?
Suppose you do very fine unit testing with stubs and drivers and test each component as far as you can with unit ...
5
votes
1answer
211 views
What are the tiers of testing that should be done on a large scale distributed system?
Let's say you have a large distributed system in the cloud that's got dozens of developers working on it and actively adding code to. Your job is to make sure all of the quality gates are used and the ...
4
votes
1answer
62 views
Are there some well known nasty pitfalls to try to avoid at all costs when starting with unit testing on a partly legacy (web) application?
I am participating on the development of the web application which has several years of history behind it and there never was enough value and effort put on refactoring, so considerable part of the ...