TaRGeT - Test and Requirement Generation Tool


TaRGeT automates a systematic approach for dealing with requirements and test artifacts in an integrated way, in which test cases can be automatically generated from use cases scenarios written in natural language. The use cases are written following a Microsoft Word template, which was designed to contain the necessary information for generating test procedure, description and related requirements. Moreover, the tool can generate traceability matrix between test cases, use cases and requirements. TaRGeT does not substitute the test engineers’ role: the tool’s main purpose is to aid the engineers on creation of test suites.

Three major aspects distinguish TaRGeT from other behavioral model-based testing tools: 1) the use of test purposes, provided by test engineers, to restrict the number of generated test cases and to focus on test cases that are more critical or relevant to a given task; 2) algorithms for eliminating similar test cases, reducing the test suite size without significant impact on effectiveness; and 3) use cases written in natural language as system input, which is more natural for engineers when comparing to formal behavior specification languages.

Business Issue / Solution

Software testing has been one of the most used techniques for achieving software quality and reliability. It is an important and extremely expensive software development activity. Studies suggest that testing often takes approximately 50% of the total software development cost. So it is important to automate and improve the productivity of testing activities, ranging from test design to execution.

One of the approaches for automatic test generation is Model-Based Testing (MBT). In order to automatically generate test cases, MBT accepts two main inputs: a formal model of the System Under Test (SUT) and a set of test generation directives, which guide the generation process. PTK, for instance, is a model-based test generator which receives as input MSC models. The bottleneck of MBT is the creation of the SUT's formal model, which requires engineers to have formal modeling expertise.

Our tool was designed to minimize this bottleneck by receiving as input use cases scenarios written in natural language; these scenarios are then used to automatically derive the system model. The tool also provides a GUI for editing test generation purposes and for guiding the user to generate test cases.

Key Features / Functions

TaRGeT's main functionality is the automatic generation of feature test cases from use cases scenarios written in natural language. Supporting this main functionality, TaRGeT features the following facilities:

  • Use case templates standardize and guide the use case authoring;
  • Automatic purpose-based generation of test suites, with adequate coverage criteria;
  • Elimination of similar test cases according to parameters informed by the user;
  • Use cases are flexible enough to handle different platforms or domains. We have already used TaRGeT for generating test cases for mobile phones and desktop applications;
  • Automatic generation of traceability matrix: Requirements X Test Cases, Requirements X Use Cases and Test Cases X Use Cases;
  • Friendly GUI to guide the generation processes.


The following versions of TaRGeT were released according to Motorola development process:

  • Release 1.00 - contains the basic functionalities for validating the input documentation and generating test cases. The test generation algorithms allow only test selection by requirements.
  • Release 2.00 - is an upgrade from Release 1.00. The new features are search engine for use cases, selection of test cases by test purposes, and test case removal based on similarity. You can find some document samples for this version here.
  • Release 3.00 - is an upgrade from Release 2.00. This release offers selection of test cases by use cases, generation of interruption test cases, automatic set up generation, and other improvements. You can find some document samples for this version here.
  • Release 4.00 - is an upgrade from Release 3.00. This release offers On the Fly Generation, providing the user visualize the test cases before generate; and other improvements. You can find the documentation here and some document samples for this version here.

Screenshots and Samples

TaRGeT takes as input use case case scenarios in natural language. These scenarios are written in a Microsoft Word document, and follow a specific template. As output, TaRGeT generates a Microsoft Excel file containing the test suite.

The figures below are some screenshots of TaRGeT tool.

TaRGeT workspace Test Selection page On The Fly Generation

System Requirements

The following software is required to run TaRGeT:

TaRGeT may run in Windows 2000 and Vista, and higher versions of .NET, JRE and Microsoft Office. However, it is not guaranteed. If you need to run in a special environment, please contact us.


Please contact the following for any further information:

Luiz Wetzel (Motorola Sponsor)

Paulo Borba (Senior Researcher)

Érica Hori (Technical Leader)

Laís Neves (Technical Leader)

Edit | Attach | Print version | History: r10 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2009-05-14 - EricaHori
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback

mersin escort bayan adana escort bayan izmit escort ankara escort bursa escort