lps2torx is intended to do model based testing using the JTorx environment. It can be invoked (on a Windows environment) by:
You should note the following
Ensure that lps2torx.exe is in your system path.
Start up JTorX with the “jtorx” shell script or with “jtorx.bat”. Navigate to the “Config Items” tab (should be active by default). Set the “Model” field to the location of the helper file (see Listing 1), e.g. “D:/jtorx-helper.tx.bat”.
Set the “Implementation” field to “real program, comm. labels via tcp, JTorX is server”. Set the text field below to the address of your SUT, e.g. “127.0.0.1:5555”.
Set “Timeout” appropriately.
Set “Interpretation” to “action names below”.
Set “Trace kind” to “Straces”.
The picture below shows the setup screen of JTorx. .. image:: _pictures/jtorx-setup.png
lps2torx [OPTION]... INFILE
Provide a TorX explorer interface to the LPS in INFILE.
The LPS can be explored using TorX as described in torx_explorer(5).
Command line options
replace free variables in the LPS with dummy values
limit enumeration of quantifiers to NUM iterations. (Default NUM=1000, NUM=0 for unlimited).
use rewrite strategy NAME:
compiled jitty rewriting
jitty rewriting with prover
append timing measurements to FILE. Measurements are written to standard error if no FILE is provided
do not display warning messages
display short intermediate messages
display detailed intermediate messages
display intermediate messages up to and including level
display help information
display version information
display help information, including hidden and experimental options