Free Newsletters
InfoWorld Daily

InfoWorld
Log-in | Register

Jtest 7.0 passes with honors

Parasoft's feature-rich app-testing tool keeps getting better

By Rick Grehan
September 19, 2005
 

Parasoft Jtest 7.0 is like a Java code development assistant on a SoBe Adrenaline Rush intravenous drip. Not only does it do source analysis, perform coverage analysis, and manage unit test production, execution, and tracking, but now it provides on-the-fly generation of functional tests for everything from stand-alone applications to container-supported servlets and EJBs.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell



Parasoft Jtest 7.0

Parasoft, parasoft.com

Excellent  8.7
criteria score weight
Documentation 8 20%
Interoperability 9 20%
Performance 9 20%
Scalability 9 20%
Setup 9 10%
Value 8 10%

Cost:
$3,495 for single seat of Professional Edition

Platforms:
Hosted in Eclipse IDE. Windows 2000/XP/2003 Server, Linux

Bottom Line:
For industrial-strength Java application testing, this is the tool to get. Because it allows you to do so much without coding, it will be as useful to your QA department as it will be for your developers.

About our Reviews and Scoring Methodology

In short, Jtest is becoming a one-stop-shopping Java-testing supercenter that copes with just about every Java component you might develop, regardless of its run-time requirements.

Jtest’s analysis of a target application can be divided into two broad categories: static and dynamic. Static analysis examines the application’s actual code, verifying that it adheres to more than 500 rules adopted from various experts and coding standards. Of course, you can alter the test configuration so that your code is graded against a subset of the total rule collection.

When code is found to be in violation, you are provided with not only a description of the broken rule, but also relevant explanatory notes; a Benefits section (which explains why you should adhere to the standard associated with the rule); and code examples that show both improper and proper coding practices. In addition, Jtest includes a bibliography identifying the source from which the rule was drawn.

Jtest’s dynamic side is its automatic unit test generation. Producing JUnit-compatible tests, Jtest creates not only the unit test code, but does so in such a fashion that delivers intelligent coverage testing. For example, suppose that Jtest is in its automatic test-generation phase and creates two tests and -- after running both -- discovers that the second test provides no additional coverage beyond the first. Jtest will automatically drop the second test from its repertoire, generate a new one, execute it, and see if it extends coverage. If so, Jtest keeps the new test and moves on.

Jtest further improves upon its intelligent unit test creation by looking for corner pocket conditions; that is, it tries to produce tests that cause run-time exceptions.

Also, Jtest understands DbC (design by contract), the practice of embedding parameter and result documentation in Javadoc comments preceding each method. Jtest will read that information and use it to guide its test generation; yet one more instance of techniques that Jtest uses to add smarts to its unit tests.

Of course, there’s got to be some human intervention: It’s up to you to tell Jtest whether a given result or a run-time exception is the correct response of the module under test. Happily, that’s easily done with the information that Jtest provides with each reported result and error. Errors link to the source code, and the values of parameters that were passed to the target method (and that caused the exception) are displayed. Jtest also produces (and links to) stack traces, so you’ve got just about all the information -- and them some -- that any decent debugger would provide to diagnose the generated exception.

New with this is the Test Case Sniffer. The Sniffer watches as you exercise a particular module in your app, then creates functional unit tests based on the information it gains “sniffing” out the methods you’ve called and the data. Suppose you’re testing a collection of servlets that take input on the front end via incoming HTTP requests and database I/O on the back end via JDBC. No problem; Sniffer will surround the module, audit the data flowing into and out of it, and use that information to create its tests.

There is also a command line version of Jtest, which means that after you have a reliable stable of tests assembled, you can incorporate them into your project’s build process. You can even configure the CLI to e-mail developers test results.

With the Test Case Sniffer, Jtest really does provide both white-box and black-box testing: white-box testing via the unit tests it creates by scanning the code and creating unit tests accordingly; black-box (functional) testing via the new Sniffer feature. Add new tests that ferret out security vulnerabilities, and Jtest 7.0 is about as close to a Swiss Army knife for Java testing as you’re going to get.





 


 
Rick Grehan is a contributing editor at InfoWorld. Contact him at rick_grehan@infoworld.com.
 

TOP NEWS:


»  Four quick tips for choosing an IM security product
71 percent of businesses will invest in real-time messaging this year. If you're one of them, be sure to protect your enterprise

»  Forrester analysts ID hot IT jobs
Research group finds 16 IT roles with a promising future

»  Nvidia claims 10 hours of HD video on Tegra chip
The Tegra 600 and 650 can be used with hard disk drives and are designed partly for mobile Internet devices

»  Database vendors add Google's MapReduce
Greenplum and Aster Data Systems will support Google's programming technique, developed for parallel processing of large data sets across commodity hardware

»  Network management: Tips for managing costs
New technologies, changing requirements, and ongoing equipment maintenance and upgrades cost money, but there are ways to manage expenses

»  EMC targets SMBs, branch offices with new low-end storage
Celerra NX4 highlights include thin provisioning, snapshot technology for data recovery and backups, and Web-based console for management of storage volumes




FIVE WAYS TO REDUCE IT COSTS IN 2009
The demands on IT have never been greater, particularly in light of lower revenue and uncertain demand for the goods and services. There are many ways that IT can help organizations adjust to this new economic environment. Learn about five key technology trends that can immediately impact your organization's bottom line, and how to build a strategy to implement these technologies within your current budget. Sponsored by: Riverbed

»  Click here to view this Webcast
  Enterprise Data Security Solutions Guide
Data security used to be about outside threats. These days the biggest challenge for data-driven organizations is the management of secure information from the inside out. Data is available on laptops, your network and even USB devices, but not always secure. Read this Solutions Guide to learn the best ways to keep it safe. Sponsored by ISC2

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2009, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist
TecChannel :: TecCommunity