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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendices 311<br />

B.2 Offline test generator, otg<br />

B.2.1 Usage<br />

otg [/reference:]* [/file:]* [/append[+|-]]*<br />

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

B.2.2 Examples<br />

B.2.3 Options<br />

otg @otg_args.txt<br />

otg /r:ClientServer.dll ClientServer.Factory.Create /fsm:Scenario.txt<br />

otg /r:ClientServer.dll ClientServer.Factory.Create /file:Test.txt<br />

/?, /help<br />

Displays usage information and exits.<br />

[/reference:]*<br />

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

[/file:]*<br />

File where test suite is saved. The console is used if no file is provided. (Short<br />

form: /f)<br />

[/append[+|-]]*<br />

If false, the file is overwritten; otherwise the generated test suite is appended at<br />

the end of the file. Default value: “-” (Short form: /a).<br />

[/fsm:]*<br />

File name of a file containing the term representation fsm.ToTerm() of an fsm<br />

(object of type FSM). Multiple FSMs are composed into a product.<br />

*<br />

Fully qualified names of factory methods returning an object that is an instance<br />

of <strong>Model</strong>Program. Multiple models are composed into a product.<br />

@<br />

Read response file for more options.<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!