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.

B Command<br />

Reference<br />

This appendix describes the command-line options for the visualization and analysis<br />

tool mpv (model program viewer), the test generator tool otg (offline test generator),<br />

and the test runner tool ct (conformance tester).<br />

B.1 <strong>Model</strong> program viewer, mpv<br />

B.1.1 Usage<br />

B.1.2 Examples<br />

308<br />

mpv [/reference:]* [/initialTransitions:]*<br />

[/transitionLabels:{None|ActionSymbol|Action}]*<br />

[/nodeLabelsVisible[+|-]]* [/initialStateColor:]*<br />

[/hoverColor:]* [/selectionColor:]*<br />

[/deadStateColor:]* [/deadStatesVisible[+|-]]*<br />

[/unsafeStateColor:]* [/maxTransitions:]*<br />

[/loopsVisible[+|-]]* [/mergeLabels[+|-]]*<br />

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

[/stateShape:{Box|Circle|Diamond|Ellipse|Octagon|Plaintext}]*<br />

[/direction:{TopToBottom|LeftToRight|RightToLeft|BottomToTop}]*<br />

[/combineActions[+|-]]* [/livenessCheckIsOn[+|-]]*<br />

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

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

mpv @mpv_args.txt<br />

mpv /fsm:M1.txt /fsm:M2.txt<br />

mpv /testSuite:ContractTest.txt<br />

mpv /r:NewsReaderUI.dll NewsReader.Factory.Create<br />

mpv /r:Controller.dll Reactive.Factory.Create /safetyCheckIsOn+<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!