Matt Stephens

(Author)

Design Driven Testing: Test Smarter, Not HarderPaperback, 17 September 2010

Design Driven Testing: Test Smarter, Not Harder
Qty
1
Turbo
Ships in 2 - 3 days
In Stock
Free Delivery
Cash on Delivery
15 Days
Free Returns
Secure Checkout
Buy More, Save More
Turbo Shipping
Print Length
368 pages
Language
English
Publisher
Apress
Date Published
17 Sep 2010
ISBN-10
1430229438
ISBN-13
9781430229438

Description

In this chapter we illustrated how to drive unit tests from a software design, identifying test scenarios in a systematic way that ensures the code is covered in all the right places. We also illustrated the use of "stunt services" and mock objects to isolate the code being tested; finally, we discussed driving unit tests deeper into algorithmic code that may benefit from finer-grained testing. Is there a way to get 95% of the benefit of the comprehensive unit testing we did in this chapter with significantly fewer tests? In the next chapter, we'll show how to do exactly that with controller tests. As you'll see, unit tests do have their place, but controller tests can often represent a smarter, more structured approach to application testing. 136 C H A P T E R 6 ? ? ? Conceptual Design and Controller Testing As you saw in Chapter 5, unit testing doesn't have to involve exhaustively covering every single line of code, or even every single method, with tests. There's a law of diminishing returns--and increasing difficulty--as you push the code coverage percentile ever higher. By taking a step back and looking at the design on a broader scale, it's possible to pick out the key areas of code that act as input/output junctures, and focus the tests on those areas.

Product Details

Authors:
Matt StephensDoug Rosenberg
Book Format:
Paperback
Country of Origin:
NL
Date Published:
17 September 2010
Dimensions:
23.57 x 19 x 1.98 cm
ISBN-10:
1430229438
ISBN-13:
9781430229438
Language:
English
Location:
Berkeley, CA
Pages:
368
Publisher:
Weight:
657.71 gm

Related Categories


Need Help?
+971 6 731 0280
support@gzb.ae

About UsContact UsPayment MethodsFAQsShipping PolicyRefund and ReturnTerms of UsePrivacy PolicyCookie Notice

VisaMastercardCash on Delivery

© 2024 White Lion General Trading LLC. All rights reserved.