Feature #539
implement unit tests
Beginn:
06.08.2024
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
Instantiate server. When an differen Port is used, the test can be run while other software runs.
Instantiate client A (localhost).
Instantiate client B (localhost).
connect A-s Input-Signal to a function.
connect B-s Input-Signal to a function.
Send message through A, check if B is receiving it, A not.
Send message through B, check if A is receiving it, B not.
Implement it as a test client class. Client expects something like an counter.
In the unit test, check if there were no errors. CAN-FD supports 64 Bytes.
Check for different sizes also.
client.expectSize(4);
client.expectSender( ESenderA );
Am Ende muessen die erfolgreichen Packete ueberprueft werden.