22
Fri, Nov
1 New Articles

A Visual Guide to Cost-Effective Testing on the iSeries

Development Tools
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

By bringing practical tools and advanced techniques to how you test, the costs and risks associated with testing can be reduced dramatically.

 

The following article is an extract from the white paper "A Visual Guide to Cost-Effective Testing on the iSeries," available for download free from the MC White Paper Center.

 

Managers and developers working with legacy RPG and COBOL applications face serious testing challenges. Few, if any, of these applications have a complete set of specifications of how the applications should perform, and even fewer have a complete library of test cases. Results from over 12,000 software projects show that detecting and removing defects is the single most costly task in software development.

 

The majority of the work being done on iSeries applications involves enhancements and corrections. This type of work requires regression-testing the modified code to ensure that new defects have not been introduced into production systems. Without a complete library of test cases, testing becomes increasingly difficult, expensive, and risky, leading to the following unfortunate truth for most iSeries development projects that lack good testing capabilities: regression-testing is either the biggest task in a project or the biggest risk.

 

This white paper describes the variety of tools that can be used to improve testing productivity and results for both regression-testing and new-functionality-testing. It is divided into the following sections:

  • The Business Case for Investing in Testing
  • Extreme Testing of Legacy Applications as a Strategy
  • Overview Diagram of Testing Tool Applications

Tools

  • Test-database preparation tools
  • Intelligent test-data construction tools
  • Test-data output-comparison tools
  • Screen-testing automation tools
  • Test-coverage tools
  • Test-harness tools
  • Test-case development tools
  • Test-driven development tools
  • Defect-tracking tools

 

The Business Case for Investing in Testing

Of key interest to IT managers is the statistic that defects found in production are 5–10 times more costly to fix than defects found in the coding stage. It doesn't take too many of those defects to become a significant factor in IT budgets.

 

From 50 years of statistics on over 12,000 software projects, it has been clearly shown that the single most costly aspect of software development is detecting and correcting defects, comprising roughly 35 percent of total software development and maintenance costs.

 

While large statistical studies of RPG defect rates are hard to find, by using defect rates per function point and extrapolation of lines of code per function point for RPG, it is possible to estimate that there are roughly eight defects per hundred lines of code changed or written.

 

Across industries, the average rate of change per year in application code bases is roughly seven percent. Using these figures provides the basis for estimating the number of defects that IT must deal with.

 

Of general interest are the figures for the point in the software lifecycle where defects originate:

 

Defect Sources

     Percent

Requirements errors

20

Design

25

Coding

35

Documentation

12

Bad fixes

8

 

Also of interest is the pattern of defect detection and removal. Most IT managers understand that testing never detects all defects, but what is the actual pattern of detection?

 

Key Fact: Testing is never perfect and produces diminishing returns; therefore, it is crucial to optimize testing efficiency.

 

Defect detection proceeds in a manner similar to that of the half-life decay of radioactive elements. For example, on average, unit testing will detect 25 percent of the resident defects. If unit testing were performed a second time, it would detect 25 percent of the remaining defects.

The First Step Toward Testing Efficiency

By bringing practical tools and advanced techniques to how you test, the costs and risks associated with testing can be reduced dramatically, measurably improving IT throughput and saving scarce IT dollars.

Extreme Testing of Legacy Applications as a Strategy

One of the fundamental strategies of testing legacy applications is to perform high-volume (or "extreme") testing, enabled by the use of powerful tools and testing techniques. Such testing is the best substitute available for regression testing in the absence of complete libraries of test cases or application specifications. In particular, wherever possible, run high volumes of data through parallel tests. This requires the use of a number of tools for tasks such as preparing databases, comparing results, creating test harnesses, and so on, as described below.

 

Want to learn more? Download the white paper "A Visual Guide to Cost-Effective Testing on the iSeries," free from the MC White Paper Center.

 

Christine McDowell

From applications to infrastructure, Fresche brings digital experiences to life, solving complex business problems for our customers with innovative IT solutions. Businesses across the globe rely on us to deliver value in several critical areas including: custom application development, modernization of highly valuable legacy software assets, managed services, cloud, infrastructure and expert staffing solutions.
The depth and breadth of our automated tooling, products and services for IBM i, Windows, Linux and other platforms helps organizations to reach new heights and achieve their digital aspirations to survive and thrive successfully in today’s everchanging markets. www.freschesolutions.com


BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: