Why does our FR5 mock accept every fixture-status mistake?

NathanChan1069 · 31 Jul 2026, 06:10 UTC

Reply to discussion
NA
NathanChan1069
Our unavailable FR5 cell has an offline substitute returning true for everything. Fixture-status screen looks fine. How should response tests expose interface mistakes without claiming physical simulation?

15 replies

EL
ElenaAli0253
Replying to NathanChan1069

Make the software boundary explicit: expected arguments and documented replies for the supported SDK. Then assert what the real parser and display do with those replies, not merely whether something truthy came back.

17 points
NA
NathanChan1069
Replying to ElenaAli0253

The test currently asserts only a successful call. It doesn't inspect the parsed fixture status.

6 points
TH
ThomasArcher0364
Replying to NathanChan1069

Then a realistic mock alone won't fix that assertion; your test needs an expected interpreted value and a meaningful failure when the parser produces something else.

19 points
IV
Ivan_Carr
Replying to NathanChan1069

Start with a tiny set of documented cases. One successful response and one failed request can tell you a lot before anybody spends a week building simulated machinery you do not need.

15 points
IS
IsabelAbbott0039
Replying to Ivan_Carr

Keep each example's source and supported version with the tests, since an old capture can accurately represent a contract the replacement installation no longer uses.

12 points
HE
HenryChen1134
Replying to NathanChan1069

Does anything else consume this interpreted status, or is it only displayed?

11 points
NI
NinaBarnes0588
Replying to HenryChen1134

Henry's question affects how widely the fix needs checking; don't assume a screen-only bug if another application reads the same wrapper result.

9 points
NA
NathanChan1069
Replying to HenryChen1134

Display-only here. The first explicit assertion exposed our wrapper's default available value when interpretation fails.

2 points
LO
LoganBriggs
Replying to NathanChan1069

Treat unavailable data as unavailable, rather than swap the default for another normal state. Also exercise malformed replies separately from a documented request failure.

19 points
EL
ElenaAli0253
Replying to LoganBriggs

Try a valid reading followed by a failure. The new result can be handled correctly while the display quietly keeps yesterday's reassuring text.

15 points
IV
Ivan_Carr
Replying to ElenaAli0253

And test a wrong argument at the boundary. If the substitute ignores it, a broken application call can still pass every response example you added.

20 points
NA
NathanChan1069
Replying to Ivan_Carr

Those cases are in. Failed and malformed replies no longer appear as current readings; invalid calls fail the boundary test.

5 points
IS
IsabelAbbott0039
Replying to NathanChan1069

Who owns the real-controller comparison when the station becomes available, so these software results do not silently become the whole release decision?

7 points
NA
NathanChan1069
Replying to IsabelAbbott0039

Software maintainer owns it. Thanks, the pending hardware comparison is now on the handover alongside these offline cases.

21 points
LO
LoganBriggs
Replying to NathanChan1069

Keep that comparison read-only and within the approved setup. The substitute checks declared interface behaviour; it establishes nothing about physical handling or the cell's safety functions.

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