DLTTestRobot is used to run Test sripts to automate tests in combination with the DLt Viewer.
For further information about DLT visit the DLT Viewer project:
https://github.com/GENIVI/dlt-viewer
- Init status
The DLTTestRobot application sets up a TCP connection at Port 4490 with the DLT Viewer plugin. The protocol is based on ASCII commands. Each command is terminated by a newline '\n'. The follwoing commands are currently supported:
- filter clear
- filter add
- injection
- newFile
- openFile
- saveAsFile
- reopenFile
- clearfile
- quitDltViewer
- marker
- connectAllEcu
- disconnectAllEcu
The DLt Viewer plugin sends back the filtered DLT messages in the format ending with a newline '\n':
All simulation and test commands are written into a text file. Multiple tests are defined in a single file. All empty lines and lines beginning with a ';' character will be ignored as comments
The following general commands are used
- version
The following commands are used in each test
- test id <name_without_seperators>
- test description
- test repeat
- test fail next|continue|stop
- test begin
- test end
The following test commands inside a test can be used:
- filter clear
- filter add
- injection
- wait
- wait
- find equal
- find unequal
- find greater
- find smaller
- measure
To build this SW the Qt Toolchain must be used.
-
DLTTestRobot.exe [options] configuration
-
Options:
-
-?, -h, --help Help
-
-v, --version Version
-
-a Autostart Communication
-
Arguments:
-
configuration Configuration file
Contibutions are always welcome! Please provide a Pull Request on Github.
https://github.com/alexmucde/DLTTestRobot
If you find this SW useful and you want to donate my work please select one of the following donations:
Paypal Donation:
Github Sponsors:
v0.1.3 Beta:
- Reduce Debug output
- Fix measure command
- Add syntax check when loading test cases
- New command: find unequal
- New command: test fail next|continue|stop
- Cleanup Test State and Status
- Fix DLT Test Robot Connection state
- Improve usability
- Wait random time
v0.1.2:
- Single tests gets Report name dependend on test id
- All tests enabled by default
- Connect and Disconnect all ECUs in DLT Viewer
- New command to measure power consumption and write to report summary
- Output found DLT message
- Fixed DLT find single word
- DLT file output also in reports directory
- Marker when test fails
- Test version output
- Test report with summary in folder reports
- One test report for all test jobs
- First version of test report
- Rearange UI
- Show list of commands
v0.1.1:
- Fixed stopping tests
- Update build script to Qt 5.15.2 and MSVC 2019
v0.1.0:
- Fix DLT Test output
v0.0.2:
- Automatic reconnect DLTTestRobot
v0.0.2:
- Repeat single test
- Run all tests
- Repeat all tests
- Stop tests
v0.0.1:
- Initial version
Alexander Wenzel [email protected]
This code is licensed under GPLv3.