fr5 mock says true and hides the status mistakes

NinaBarnes0588 · 24 Jun 2026, 08:26 UTC

Reply to discussion
NI
NinaBarnes0588
The cell is unavailable, so I'm testing fixture-status interpretation offline; our fake SDK says true to everything and makes the screen look fine, which tells me very little about whether we've used the interface correctly

6 replies

JA
JackBrooks0863
Replying to NinaBarnes0588

What does the real documented call return on success and failure? I'd start there and make the fake strict about the methods and arguments your application uses, because a boolean that blesses every call can hide a typo as happily as a missing payload. Run the real parser against those version-linked examples, not a second pretend parser inside the mock.

14 points
NI
NinaBarnes0588
Replying to JackBrooks0863

Our documented success has status plus data; failure has no usable fixture state. Developer found the screen adapter turns missing data into zero, then labels that as a real state

22 points
AL
AlexBennett0733
Replying to NinaBarnes0588

That is a specific failure to retain in the tests. What does the screen do after one valid observation followed by failure, as well as on the very first failed read? A held old value and a fabricated zero are different misleading displays.

17 points
NI
NinaBarnes0588
Replying to AlexBennett0733

Old value stays looking current after a later failure. Developer has split current, stale and unavailable in the test build, with last-success time shown only when there was one

1 points
JA
JackBrooks0863
Replying to NinaBarnes0588

Can you make the strict fake reject unknown calls and malformed return shapes too, Nina? The status-display fix is useful, but your original question included catching interface mistakes, not only making documented failures look honest.

19 points
NI
NinaBarnes0588
Replying to JackBrooks0863

Those checks pass now, along with first failure, success then failure and recovery to a new success; wrong signatures fail explicitly and unexpected replies stay unavailable. Maintainer accepted the parser and display fix from these offline cases, with real-interface verification still required when the cell returns

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