The offline FR5 status fake approves calls it never checks

SaraChen1157 · 29 Jul 2026, 04:53 UTC

Reply to discussion
SA
SaraChen1157
I've warned before that offline identities don't prove a real interface supplies them. Now my FR5 status-display fake returns true everywhere while the cell is reserved for commissioning. How do I test response parsing meaningfully without claiming physical simulation?

5 replies

BE
BethBennett0759
Replying to SaraChen1157

Use explicit methods and arguments matching the documented SDK your application supports, then return identified captured responses where available. Separate invented malformed cases from real captures. Test what the display means after each response, not just whether a call returned something agreeable.

21 points
SA
SaraChen1157
Replying to BethBennett0759

I've selected one displayed-status method and tied the fake to its documented signature. Saved success and failure replies will exercise the parser; constructed bad shapes are labelled separately.

24 points
BE
BethBennett0759
Replying to SaraChen1157

Include a successful read followed by failure with the old display state present. Also make an unknown method or wrong argument fail loudly. An accommodating fake can leave interface mistakes untouched even when its canned results look authentic.

7 points
SA
SaraChen1157
Replying to BethBennett0759

The strict fake caught a wrong argument in our caller. The retained-value test also fails, so fixing the call doesn't finish the display work. Real interface confirmation remains a commissioning task.

11 points
BE
BethBennett0759
Replying to SaraChen1157

Keep both failures as regression cases when repaired. One protects the call contract, the other protects the person reading the screen; a passing parser assertion alone would not cover both.

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