CHANNELS
 
 
 
 
 
 
 
 
ON THE WEB
 
 
 
 
PRINT EDITION
 
 
 
 
BZ MEDIA
 
 
 
 
ADVERTISER LINKS
 
 
 
 
 
 
 
AS OF 11/21/2008 11:06AM EST
Ten best practices for Java automated testing
Stories Columns Opinions Resources

By Lisa L. Morgan

April 1, 2008 —  Consultants and vendors have identified best practices for Java automated testing:

1.    Test early and often. Bugs detected early are a lot cheaper to fix than those discovered in production or deployment.

2.    Unit-test your development code to ensure it does what it’s supposed to do. No one knows your code better than you do.

3.    Understand the costs and benefits of manual testing before you start automating tests. Otherwise, it would be virtually impossible to measure ROI.

4.    Understand what level of test coverage you should have and are getting. There’s no such thing as 100 percent coverage using manual or automatic tests.

5.    Understand which metrics matter. There are more available than actually matter to your project.

6.    Use manual and automated tests where they make sense. This will save you time and money over the long term.

7.    Focus on test design, not tools. Tests should be based on software requirements, not product features.

8.    Build reusable test scripts. Both development and test code should be reusable.

9.    Don’t forget that requirements are critical to validation. If you don’t understand what your code is supposed to do, it’s hard to prove it’s working properly.

10.    Don’t give up your code reviews. Automated testing is no substitute.


Related Search Term(s): Java


Share this link: http://www.sdtimes.com/link/31872
 


 
 
 
 
 
 
 
 
 
 
SUBSCRIBE TODAY!
 E-Newsletters:
  News on Mon/Thurs.  More info
  Test & QA Report  More info
  EclipseNews  
  SPTech Report  More info
 
 
 
PDF & PRINT EDITION
* Requires Resource Account!  LOGIN or SIGN UP

Download Current Issue!
ISSUE 11/15/2008 PDF

Need Back Issues?
DOWNLOAD HERE

Receive The Print Edition?
SUBSCRIBE HERE
 
REGISTER
 
GET NOTIFIED!
About all of the latest Resources
 
 
SD TIMES 100
It's time once again to
recognize the organizations
or individuals that have
demonstrated leadership in
their markets.