GithubHelp home page GithubHelp logo

qict's Introduction

QICT: A Pairwise Test Case Generator

This program originally appeared in the MSDN Magazine, December 2009.

I took the code there (assumed to be public domain) and polished it a bit to add command-line parameters and a few options. The bulk of the algorithm remains unchanged.

How to compile

First, clone the repository.

Under Windows

To run this QICT code, launch a new instance of Visual Studio 2005 or 2008. Create a new Console Application C# project. Replace the VS-generated template code in file Program.cs with the Qict.cs code in this download. Copy all .txt into the root folder of your project. Build and run by hitting the F5 key.

Under Linux

mcs Qict.cs -out:qict

(or use make build)

NB: mcs is the Mono C# compiler

##Usage:

qict [-c] [-h] <filename>  [-i] <invalidCombinaisonsFilename>

where filename is a text file containing the text data (see the article or the sample file testData.txt included for more info) and invalidCombinaisonsFilename is the file containning invalids combinaisons to exclude during the test

the output will display something like this: (in the case below we didn't use forbdiden combinaisons)

QICT: a pairwise test case generator
(C) 2009 James McCaffrey, (C) 2014 Sylvain Hallé

- There are 4 parameters
- There are 11 parameter values
- Parameter values:
  a b c d e f g h i j k 
- Legal values internal representation: 
  * Parameter0: 0 1 
  * Parameter1: 2 3 4 5 
  * Parameter2: 6 7 8 
  * Parameter3: 9 10 
- There are 44 pairs 

Computing testsets which capture all possible pairs...

Result test sets: 

  0		a	c	g	j	
  1		b	d	g	k	
  2		a	e	h	k	
  3		b	f	i	j	
  4		b	c	h	j	
  5		a	d	i	j	
  6		a	f	g	k	
  7		b	e	i	j	
  8		a	d	h	j	
  9		a	c	i	k	
 10		a	e	g	j	
 11		a	f	h	j	

End

qict's People

Contributors

corentin-r avatar sylvainhalle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.