Software's common DNA

Here are five species of application that seem, at first glance, to have little in common: mainframe "green screen," Win32/VB, Java/Swing, Web browser, and .Net WinForms. An enterprise application portfolio is likely to include members of each of these species. Nobody chooses this diversity; it just happens, and it complicates everything from development and deployment to maintenance and testing.

Might these various species in fact share common DNA? That depends on whom you ask. Platform vendors claim there's no way to abstract away what's different while zeroing in on what's the same. But then, they don't have much incentive to make that happen. Developers would love to develop and test Windows and Web software in a common way, for example, but Microsoft would prefer they didn't and so isn't investing in that scenario.

When platform allegiance isn't a factor, though, it's amazing how differences melt away. One company with a refreshingly pragmatic approach to isolating common software DNA is Worksoft, whose flagship product, Certify, tests all of the application flavors I've named.

Certify works by distilling each flavor down to a neutral representation of its data-bound objects. It creates an object map by any of four methods: parsing source code, inspecting the running application, manual specification, or importing from another tool. After the map is built, testers who know how to use the application -- but not how to write code that exercises it -- can choose from an inventory of screens and widgets, describe inputs and expected outputs in a spreadsheetlike interface, and compose sequences of tests.

To run the tests, Certify intercepts whatever APIs are necessary to translate its neutral objects into the object system of the application under test. Methods of interception include mainframe APIs, Java or .Net class libraries, and the browser's DOM.

Worksoft CTO Linda Hayes showed me an example that involved three application flavors: Web, mainframe, and Win32/VB. The sequence was just a demo, but it could well have been a real composite application. Although enabling power users to do cross-disciplinary integration work isn't a primary focus for Worksoft, the abstraction layer makes that a possible future direction.

Meanwhile, in the realm of test automation, abstraction yields several key benefits. Because tests are expressed as data, not code, testers use the same methodology in all supported languages and environments. Tests might even survive a migration from a mainframe app to its Web reincarnation.

Change analysis also benefits hugely, Hayes says. In cases where the object map is built and refreshed automatically, differences are shown in terms of objects, rather than lines of code. A database query correlates those objects with the associated tests.

Is Worksoft's no-coding approach an alternative to the coding-intensive methods advocated by practitioners of test-driven development? Hayes thinks so. One Worksoft customer runs 64,000 tests for each release of its product. If the tests were expressed as code rather than data, they'd require six times the quantity of production code. "As we say in Texas," Hayes jokes, "that dog won't hunt."

Agile developers will argue that point, but whatever your views, it's clearly strategic to distill software's common DNA.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jon Udell

Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill


I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?