org.tigris.mbt
Class CLI

java.lang.Object
  extended by org.tigris.mbt.CLI

public class CLI
extends Object

Command Line Interface object, to the org.tigris.mbt package. The object provides a way of working with MBT using a Windows DOS, or a console window in *nix system. The CLI works like the cvs or the subversion command svn. The syntax is:

java -jar mbt.jar COMMAND 
Where mbt.jar is the whole package org.tigris.mbt built using the tool Fat Jar from http://fjep.sourceforge.net/ using org.tigris.mbt.CLI as the main class

Example: Print help for mbt.jar
java -jar mbt.jar help

Example: Merge graphml files and save the merged result.
java -jar mbt.jar merge -f folder

Example: Generate offline test sequence, using random walk
java -jar mbt.jar offline -f folder -g RANDOM -s EDGE_COVERAGE:30

Example: Generate online test sequence, using shortest walk
java -jar mbt.jar online -f folder -g SHORTEST -s EDGE_COVERAGE:100

Example: Print all names of edges and vertices (Sorted, and unique)
java -jar mbt.jar methods -f folder

Example: When you need to define more complex abstract test cases working with the CLI can sometimes be a burden. For this reason we have added a easier way to structure the abstract test cases, using XML.
java -jar mbt.jar xml -f testcase.xml


Nested Class Summary
static class CLI.VerboseStatisticsLogger
           
 
Constructor Summary
CLI()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLI

public CLI()
Method Detail

main

public static void main(String[] args)