27.07.2013 Views

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

312 Command Reference<br />

B.3 Conformance tester, ct<br />

B.3.1 Usage<br />

B.3.2 Examples<br />

B.3.3 Options<br />

ct /iut: [/modelStepper:] /reference:+<br />

[/coverage:]* [/steps:]* [/maxSteps:]*<br />

[/runs:]* [/observableAction:]*<br />

[/cleanupAction:]* [/internalAction:]*<br />

[/waitAction:]* [/timeoutAction:]* [/timeout:]*<br />

[/continueOnFailure[+|-]]* [/logfile:]* [/randomSeed:]*<br />

[/overwriteLog[+|-]]* [/testSuite:]* [/fsm:]*<br />

[/startTestAction:]* * @<br />

ct @ct_args.txt<br />

ct /r:Stepper.dll /iut:ClientServerImpl.Stepper.Create<br />

/testSuite:ContractTest.txt<br />

ct /r:ClientServer.dll ClientServer.Factory.Create /r:Stepper.dll<br />

/iut:ClientServerImpl.Stepper.Create /fsm:Scenario.txt /runs:1<br />

/?, /help<br />

Displays usage information and exits.<br />

/iut:<br />

Implementation under test, a fully qualified name of a factory method that returns<br />

an object that implements IStepper.<br />

[/strategy:]<br />

A fully qualified name of creator method that takes arguments (<strong>Model</strong>Program<br />

modelProgram, string[] coverage) and returns an object that implements<br />

IStrategy. If left unspecified, the default model stepper is used that ignores<br />

coverage point names (if any). (If a testSuite is provided, this option is ignored.)<br />

/reference:+<br />

Referenced assemblies. (Short form: /r)<br />

[/coverage:]*<br />

Coverage point names used by model stepper. (If a testSuite is provided, this<br />

option is ignored.)<br />

[/steps:]*<br />

The desired number of steps that a single test run should have. After the number<br />

is reached, only cleanup tester actions are used and the test run continues until an<br />

more free ebooks download links at:<br />

http://www.ebook-x.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!