our fr5 sample mock accepts an argument we forgot to send

AnnaCarter1025 · 4 Apr 2026, 07:43 UTC

Reply to discussion
AN
AnnaCarter1025
The offline sample-status test still passes when I remove a required argument. Our substitute accepts anything and returns true, so it avoids the response parser we need to test. I want it tied to the actual read-only query contract while the commissioning cell is unavailable.

1 reply

JA
JamieChan1078
Replying to AnnaCarter1025

Identify the installed SDK version and enforce that query's argument and response contract in the substitute, then send distinct successful values and explicit failures through the normal parser and screen code; make the missing-argument case fail instead of teaching the fake to be more accommodating.

14 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.