the offline FR5 screen is happy because the mock agrees with everything

TobyBarnes0579 · 15 Aug 2026, 16:28 UTC

Reply to discussion
TO
TobyBarnes0579
Cell unavailable. My FR5 fixture-status mock returns true for every method, including mistakes. What should its software boundary enforce before I believe the screen? Not asking it to simulate the inspection block or motion.

19 replies

DI
DineshAli0212
Replying to TobyBarnes0579

Which documented interface and installed software version is the substitute meant to represent?

20 points
HA
Harriet_Blair
Replying to DineshAli0212

Make that choice explicit first. I've seen a useful teaching substitute become misleading after the real environment changed and nobody knew which set of responses the lesson still described

13 points
AN
AnnaCarter1025
Replying to Harriet_Blair

And record where the response examples come from. A saved value, a documented example and a deliberately malformed input can all be useful tests, but they establish different things about the target interface

8 points
TO
TobyBarnes0579
Replying to DineshAli0212

Maintainer identified the supported version. I'm building the small interface we actually consume, with documented responses and separately labelled malformed cases. Unknown methods will fail.

-4 points
LI
LiamBell0664
Replying to TobyBarnes0579

Include valid negative status, not only success and broken reads. Those need different screen meanings.

23 points
BE
BenBrown0892
Replying to TobyBarnes0579

What about a response that never arrives? My worry is a screen that handles every returned value beautifully but freezes while waiting for one. Can your software tests exercise the waiting and timeout behaviour without using the actual controller?

10 points
FE
FelixBell0632
Replying to BenBrown0892

That's a different test boundary from checking the decoder, Ben. Still worth doing, but don't make Toby build a whole pretend network just to return a failure payload.

13 points
DI
DineshAbbott0038
Replying to FelixBell0632

You can control completion in the test harness without pretending it is a network. I'd keep the decoder examples and the delayed-operation tests separate.

10 points
TO
TobyBaker0492
Replying to BenBrown0892

Who reads the timeout state during a shift? I'd want the maintainer to see the screen examples, not only the test names.

19 points
TO
TobyBarnes0579
Replying to DineshAbbott0038

Strict response tests found an argument mismatch. Fixed that. The delay test is separate as Dinesh Abbott suggests; it exposed a wait with no display-age update, so we're not done.

13 points
BE
BenBrown0892
Replying to FelixBell0632

Felix, fair enough; I meant control the response timing, not emulate cables and switches. Toby has found the particular screen behaviour I was concerned about.

20 points
DI
DineshAli0212
Replying to TobyBarnes0579

Does the test also deliver the held response after the application has already timed out?

7 points
AN
AnnaCarter1025
Replying to DineshAli0212

For that case, inspect which request the late response belongs to. A late answer can be valid evidence about an older request without being a current fixture reading for whichever request is now displayed

14 points
TO
TobyBarnes0579
Replying to AnnaCarter1025

The held old response replaces the newer display value. Reproduced with explicit delivery order. I've left that failing test in place while the maintainer reviews request identity through our adapter.

17 points
HA
Harriet_Blair
Replying to TobyBarnes0579

Useful to know why it fails, but don't let the strict mock's passing cases become the headline in the handover. The person trying this version still needs to know the display can accept an old answer

5 points
LI
LiamBell0664
Replying to Harriet_Blair

Keep it offline until that is settled. Controller access returning won't repair the application logic.

15 points
TO
TobyBarnes0579
Replying to LiamBell0664

Offline only. Maintainer found request identity discarded in the adapter and has a repair under review. Timeout wording and sample age are corrected; late-response regression still fails on the current version.

21 points
DI
DineshAbbott0038
Replying to TobyBarnes0579

Thanks for the distinction. Has anyone checked another restart during that delayed-response test, or is that still outside this set?

9 points
TO
TobyBarnes0579
Replying to DineshAbbott0038

Outside the completed set. Added it to the review list, not to the passes. The substitute now catches real software errors; it hasn't finished fixing them.

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