N-ple reduce

Executable:

reduceNple.exe

 

Purpose:

“Squeeze” as much as possible n-tuples contained in the input file, replacing the values "*" with specific values of the variables and thus creating a Test Set from the file of n-tuples, while not the Test Set minimum, it is reduced compared to the Test Set Maximum (coincident with all n-tuples). The number of records depends from the sorting of the n-tuples input file, in a not know way. For sure there is a sorting of the files row to which the Test Set outputted contains a minimum number of Test Cases with guaranteed WISE-coverage, but find this sort is not feasible from a computational point of view, as too onerous.

 

Input:

  1. –n: {NPLE FILE}:  File with n-tuple to reduce
  2. –s: (SEP):             Separator of the values of the variables. Default is ";" (semicolon).

 

Output:
Test Set smaller than Maximum Test Set, but not minimal, with coverage guaranteed equal to past input n-tuple WISE file. Values with * are the "don’t care". Instead of "*", you can take any value of the variable, without thereby affecting the coverage WISE level. The output is printed on the screen and can be redirected to a file with the usual operations "pipe" DOS (> or >>)

 

Example:

 

reduceNple –n: out_p_1.txt

 

Assuming that the file out_p_1.txt is the following and which guarantees a cover 1 of the values of the variables A, B and C:

 

A1;*;*
A2;*;*
A3;*;*
A4;*;*
*;B1;*
*;B2;*
*;B3;*
*;*;C1
*;*;C2

 

The reduced test set is the following:

 

A1;B1;C1
A2;B2;C2
A3;B3;*
A4;*;*


In this case the output produced also coincides with the minimum Test Set, although in the general case when WISE > 1 this is not true.

Web Traffic

Today4
Yesterday34
This week35822
This month579
Total35822

Who Is Online

1
Online

Saturday, 16 December 2017 01:15
Powered by CoalaWeb