Testfälle Meycan Switch PreCons for each: GIVEN XX XX is the deviceId of the target device GIVEN YY YY is another device id, which is NOT XX XX GIVEN 2nd CAN Debug Device on another CanBus of switch 1) A MeyPin can be triggered directly (repeat Test for all MeyPins and each CAN Bus Interface specified) WHEN Send CAN Pkg 00 55 11 11 | XX XX 01 01 -> (MeyPin1 Should switch to on) THEN The MeyPin 1 should trigger THEN you receive a message 00 50 XX XX | 01 01 THEN 2nd device should receive 2 messages * 00 50 XX XX | 01 01 * 00 55 11 11 | XX XX 01 01 1a) A MeyPin trigger is effecltess, if only set GIVEN the above testcast WHEN Send CAN Pkg 00 55 11 11 | XX XX 01 01 THEN Nothing changed THEN you dont receive a message THEN 2nd device should receive 00 55 11 11 | XX XX 01 01 WHEN Send CAN Pkg 00 55 11 11 | XX XX 01 00 -> (MeyPin1 Should switch to off) THEN The MeyPin 1 should switch to OFF THEN you receive a message 00 50 XX XX | 01 00 THEN 2nd device should receive 2 messages * 00 50 XX XX | 01 00 * 00 55 11 11 | XX XX 01 00 2) A MeyPin is not triggered, if the device id dont match WHEN Send CAN Pkg 00 55 11 11 | YY YY 01 01 THEN None of the pins of the device triggered THEN you receive no message THEN 2nd device should receive 1 messages * 00 55 11 11 | XX XX 01 01 3) A MeyPin is not triggered, if the Package Type dont match WHEN Send CAN Pkg 50 00 11 11 | YY YY 01 01 THEN None of the pins of the device triggered THEN you receive no message THEN 2nd device should receive 1 messages * 50 00 11 11 | XX XX 01 01 3) A MeyPin is not triggered, if the MeyPin is above 8 (max pins) WHEN Send CAN Pkg 00 55 11 11 | XX XX 09 01 THEN None of the pins of the device triggered THEN you receive no message THEN 2nd device should receive 1 messages * 00 55 11 11 | XX XX 09 01 THEN you can execute any other testcase, as the switch didnt crash 4) All MeyPins can be activated more than 15 minutes in parallel(Activate each port for at least 15 mins) GIVE You have a relais connected to each of the ports WHEN Send CAN Pkg 00 55 11 11 | XX XX 01 01 -> (MeyPin1 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 02 01 -> (MeyPin2 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 03 01 -> (MeyPin3 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 04 01 -> (MeyPin4 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 05 01 -> (MeyPin5 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 06 01 -> (MeyPin6 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 07 01 -> (MeyPin7 Should switch to on) WHEN Send CAN Pkg 00 55 11 11 | XX XX 08 01 -> (MeyPin8 Should switch to on) THEN you should only receive the packages from above. THEN you should NOT receive a VersionPackage WHEN you wait 15 Minutes THEN nothing should be send THEN the Pins should not trigger