Implement a brand new interface using two threads, one for the transmission and one for the reception.
Adapted modules for this release: - Proxy Auxiliary - CCProxy channel - Communication Auxiliary - DUT Auxiliary - Record Auxiliary - Acroname Auxiliary - Instrument Auxiliary - UDS Auxiliary - UDS server Auxiliary
There is not API changes, therefor, as user, your tests should not be affected.
To let users decide the level of information they want to see in their logs, new log levels have been defined. When launched normally only the logs in the tests and the errors will be active. The option -v (--verbose) should be used to display the internal logs of the framework.
See run_the_tests
It is now possible to select test classes or even test cases with a unix filename pattern. This pattern can be passed with the -p flag or inside the yaml file.
For more info see test_case_patterns
Instead of having only the 2 tags "variant" and "branch_level" to select tests, users can now set any tagname.
See: define_test_information
for more details.
It tracks each assertion containing a message to create a comprehensive test-report.
See: step_test
for more details.
Incompatibilities with the agnostic proxy are now resolved. You should be able to use it again.
Add a context manager, tester present sender, that send cyclic tester present frames to keep UDS session alive more than 5 seconds
- It can also be started and stopped by using the following methods:
start_tester_present_sender() and stop_tester_present_sender().
See start_stop_tester_present_sender
See uds_auxiliary_usage
RTT connector now creates a log folder if it does not exist instead of throwing an error.
To save on memory, the communication auxiliary does not collect received messages automatically anymore. The functionality is now available with the context manager collect_messages
.
See kiso-testing/examples/templates/suite_com/test_com.py
.
The collected messages by the Communication auxiliary can still be cleared with the API method :py:meth`~pykiso.lib.auxiliaries.communication_auxiliary.CommunicationAuxiliary.clear_buffer`
See communication_auxiliary
To avoid extra waiting time during long/heavy UDS data exchange(flashing) expose the parameter tpWaitTime from kiso-testing-python-uds for uds auxilary send_uds_raw method
See uds_auxiliary_usage
The add of an .ini file to configured the UDS auxiliary and it variant (server) is no more mandatory, every parameter is now reachable in the .yaml file.
See kiso-testing/examples/uds.yaml
.
In addition, if the tp_layer and uds_layer parameters are not given at yaml level a default configuration is applied.
See uds_auxiliary_usage
Added cc_serial for serial communication.
See show_tag