USAGE
// TOOLS
// TTCN-3 EXPRESS
// TTCN-3 STUDIO
// C# EXAMPLE
// JAVA EXAMPLE
TTCN-3 STUDIO
Use the command
ttst
to process TTCN-3 tests from a Graphical User Interface
(the command is in directory ttcn-3).
The command launches a window with the following components
- Menus
- Command buttons
- Module window
- Protocol window
- Progress bar
- Status line
Menus
- Project
- Open/Create ...
Open or create a project
(a project is a directory containing
TTCN-3 modules and adpter and codec files)
- Cleanup
Cleanup the project directory, i.e. remove dlls files and test results
- Exit
Exit the program
- Sources
- New ...
Create a new source file
- File1
- File2
Open an editor with the selected File
(the menu lists TTCN-3 and C# files in the project directory)
- Select editor ...
Select the editor to be used
- Adapter
- Adapter1
- Adapter2
Register the selected Adapter
(the menu lists available adapters from dlls in the project directory)
- Codec
- Codec1
- Codec2
Register the selected Codec
(the menu lists available codecs from dlls in the project directory)
- Selection
- None
In the module window uncheck all entries of control parts
and test cases
- All
In the module window check all entries of control parts
and test cases, i.e. select them for execution
- Verdict
- Report
Write a summary on verdicts
- Reset
Reset the verdicts in the module window
- Logfiles
- On
Enable generation of logfiles
- Off
Disable generation of logfiles
- Delete
Delete logfiles from project directory
- Help
- TTCN-3.NET
Visit TTCN-3.NET
Command buttons
- BUILD
Automatically compile TTCN-3 and C# source files
(C# sources are compiled into a file SystemInterface.dll)
- RUN
Execute all items (control parts and test cases)
checked in the module window
- STOP
Abort execution of control parts and testcases
Module window
The module window has entries for control parts and test cases of all all
(compiled) TTCN-3 module in the project directory.
Check the box in front of an entry (control part or test case)
to select it for execution when the RUN button is pressed.
Click on an entry to execute this specific control part or test case.
After executing a testcase a verdict is attached to its entry.
Example
To run the example from the
tutorial,
-
Use Open/Create from the Project menu.
Select the directory example of your installation.
-
Press the BUILD button to compile the TTCN-3 specification
and the C# files with codec and adapter.
-
Click the entry
CoffeeSuite.TwoCoffeesPlease
that appears in the module window (left subwindow).