Fujitsu Develops Automatic Test-Generation Technologies to Limit Excessive Testing Work in Agile Software Development

Kawasaki, Japan and Sunnyvale, Ca., Mar 29, 2016 - (ACN Newswire) - Fujitsu Laboratories of America, Inc. and Fujitsu Laboratories Ltd. (collectively "Fujitsu Laboratories") today announced the development of automatic test-generation technologies to limit excessive testing work and enhance efficiencies for agile development - an evolutionary approach to developing software which incrementally adds small-scale functions, and then one after another, makes them available.

Automatic test-generation technologies analyze source code and generate new test cases to exhaustively test software. However, under an agile development approach, frequent, repeated changes to the source code result in a large number of test cases and excessive testing work.

Fujitsu Laboratories have now developed automatic test-generation technologies that can efficiently search for the variables in source code that impact the sections of code where new software features are added, and locally revise and add to portions of the tests at the variable level.

In a trial that applied these technologies to a revision of open source software with approximately five thousand lines of source code, Fujitsu Laboratories confirmed that it was possible to dramatically reduce the increase in test code to 1/24th of previous levels. This will enable efficiencies in development through test automation, which was previously difficult to apply to agile development. It will also greatly reduce increases in testing time caused by repeatedly adding functions in a brief period, thereby shortening overall development times.

Development Background

Agile development is advancing as an approach to software development that can quickly and flexibly respond to changes in requirements and specifications by adding, in a short period, small-scale functions, and then making them available one after another. Fujitsu Laboratories are pioneering the development of automatic test-generation technologies for agile development, which automatically and exhaustively test software by analyzing source code.

Issues

When source code enhancements are made, with conventional automatic test-generation technology, there may be cases where previously available test cases cannot be used to test the enhancement. In that event, it is necessary to generate and add a new test case. This means that in agile development, where revisions are frequent, the number of added test cases becomes excessive, and tasks such as handling test cases, checking test results, and test case maintenance become a problem (Figure 1*).

Newly Developed Technology

Now, by efficiently analyzing the relationships between input variables and the revised sections of the source code, so that test code can be reused at the input variable level, Fujitsu Laboratories have developed automatic test-generation technologies that limit the increase in the number of test cases due to source-code revisions.

The newly developed technologies have the following features:

1. Technology that reuses test code at the input variable level

By revising the test code only for input variables that are related to the changed sections of source code, Fujitsu Laboratories have developed test-code regeneration technology that can limit the increase in test cases (Figure 2*). With previous technology, in response to source-code revisions, each test case had to be reused as is, a newly regenerated test case had to be added, or the original had to be replaced, and all such choices had to be made at the test case level. With this newly developed technology, as the test code is rewritten at the individual input variable level, it is possible to regenerate test cases efficiently.

2. Technology to efficiently find the input variables related to a line of source code

Identifying the input variables related to revised sections of source code requires a large amount of memory (Figure 3*). Fujitsu Laboratories developed a technology that can find the input variables related to a source code line while greatly reducing the amount of memory used, by representing the input variables related to a line of code as paths in a graph and partially sharing these paths with other lines of source code.

Effects

In a trial that applied this technology to a revision of open source software of approximately five thousand lines, it was shown to reduce the increase in test code to 1/24th of previous levels.

With this technology, it becomes possible to use automatic test-generation technology with agile development, shortening development times.

Future Plans

Fujitsu Laboratories will enhance this technology through internal trials, aiming for commercialization in fiscal 2016.

About Fujitsu Laboratories of America, Inc.

Fujitsu Laboratories of America, Inc. is a wholly owned subsidiary of Fujitsu Laboratories Ltd. (Japan), focusing on research on Internet, interconnect technologies, software development and solutions for several industry verticals. Conducting research in an open environment, it contributes to the global research community and the IT industry. It is headquartered in Sunnyvale, CA. For more information, please see: www.fla.fujitsu.com.

About Fujitsu Laboratories

Founded in 1968 as a wholly owned subsidiary of Fujitsu Limited, Fujitsu Laboratories Ltd. is one of the premier research centers in the world. With a global network of laboratories in Japan, China, the United States and Europe, the organization conducts a wide range of basic and applied research in the areas of Next-generation Services, Computer Servers, Networks, Electronic Devices and Advanced Materials. For more information, please see: www.fujitsu.com/jp/group/labs/en/

About Fujitsu Ltd

Fujitsu is the leading Japanese information and communication technology (ICT) company, offering a full range of technology products, solutions, and services. Approximately 159,000 Fujitsu people support customers in more than 100 countries. We use our experience and the power of ICT to shape the future of society with our customers. Fujitsu Limited (TSE:6702; ADR:FJTSY) reported consolidated revenues of 4.8 trillion yen (US$40 billion) for the fiscal year ended March 31, 2015. For more information, please see  http://www.fujitsu.com.



Contact:

Fujitsu Limited
Public and Investor Relations
Tel: +81-3-3215-5259
URL: www.fujitsu.com/global/news/contacts/

Technical Contacts:

Fujitsu Laboratories Ltd.
Information Systems Technologies Laboratory
E-mail: Email Contact 

Fujitsu Laboratories of America, Inc.
Software Systems Innovation Group
E-mail: Email Contact




© 2024 Internet Business Systems, Inc.
670 Aberdeen Way, Milpitas, CA 95035
+1 (408) 882-6554 — Contact Us
ShareCG™ is a trademark of Internet Business Systems, Inc.

Report a Bug Report Abuse Make a Suggestion About Privacy Policy Contact Us User Agreement Advertise