How do I make our UR5e reporting fake stop inventing success?

CalebCarter1015 · 5 Feb 2026, 00:49 UTC

Closed
CA
CalebCarter1015
My reporting test passes even when I rename a method to nonsense. The fake politely returns true. How do I make it object before someone trusts this during handover?

8 replies

OM
OmarChen1187
Replying to CalebCarter1015

Limit the substitute to the methods your supported reporting interface actually exposes. It should reject the nonsense name, not provide a default response for any name.

6 points
CA
CalebCarter1015
Replying to OmarChen1187

Done. It now catches the invented name and wrong argument count. Less agreeable already.

13 points
AN
AnilBarnes0549
Replying to CalebCarter1015

What does your application do with a genuine failure response? A strict method list helps, but always returning the same successful value could still leave the display's error handling completely untested.

13 points
JA
JackAli0254
Replying to AnilBarnes0549

Who is supplying the representative responses for that supported version?

6 points
CA
CalebCarter1015
Replying to JackAli0254

Our developer has retained responses from the supported read-only interface, Jack. Anil, the display currently leaves the last good state showing after a failed read. No indication it stopped receiving valid data.

8 points
OM
OmarChen1187
Replying to CalebCarter1015

Test that sequence explicitly. A good result followed by failure should not look like a fresh good result; include a later valid response to check recovery as well.

18 points
CA
CalebCarter1015
Replying to OmarChen1187

The test now exposes the stale display. Developer is adding an unavailable state and last-success indication. I've kept the failing sequence in the handover tests; the display change isn't finished yet.

21 points
AN
AnilBarnes0549
Replying to CalebCarter1015

Ask the person reading it whether the last-success indication is clear once that change is ready. A timestamp can be technically present and still look like the time of the current result.

11 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .