fr5 sample mock accepts calls the real interface may reject

CalebChan1102 · 4 Jul 2026, 04:40 UTC

Reply to discussion
CA
CalebChan1102
Controller unavailable. Our sample-display mock returns true for everything. How do I test the actual software calls without claiming an inspection trial?

8 replies

ME
MeiBell0690
Replying to CalebChan1102

Make the substitute expose the methods and arguments your installed interface supports, with matching response shapes; accepting every call can hide mistakes before the parser even sees a result

9 points
CA
CalebChan1102
Replying to MeiBell0690

Found a misspelled read method. The mock's generic fallback accepted it; the installed interface does not.

22 points
TO
TobyBrown0927
Replying to CalebChan1102

Remove that fallback. Unknown calls should fail the test, not produce another reassuring screen.

1 points
HE
HenryBaker0438
Replying to CalebChan1102

Does the corrected call now exercise the application's normal response parser, or is the fake still handing the display a simplified value?

7 points
ME
MeiBell0690
Replying to HenryBaker0438

Use retained responses with their version noted for that parser, including unsuccessful reads; detailed method checking and response interpretation are separate bits of software coverage

9 points
CA
CalebChan1102
Replying to HenryBaker0438

Normal parser now used. Correct and failed saved responses produce the expected display states. The strict substitute also rejects the misspelled method and wrong argument count; tests name those cases. No controller behaviour inferred.

20 points
HE
HenryBaker0438
Replying to CalebChan1102

Will those strict-interface tests remain in the normal test run when the controller returns, rather than becoming an offline-only tool nobody opens again?

10 points
CA
CalebChan1102
Replying to HenryBaker0438

Included in the standard run and handover. Controller comparison remains a separate commissioning task.

10 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.