Add a comment

 

Where do focused integration tests go?

An important part IMHO of test architecture is the adapter-tests (in ports and adapters) or the infrastructure-tests (in DDD). Some people will call them "focused integration tests". Basically tests covering tens of lines of our code plus all the lines of code we integrate with for a specific need. They're important because the form the contract that I can use to confidently mock these things for all other tests. Problem I don't see where they fit in in your classification. Also originally I believe Kent Beck meant by unit test "a test that unitary with respect to other tests". Basically tests that can be run by themselves or in any order. Usually those would be at near class level, but the importance is that they'd be independent.

Where do focused integration tests go?


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).