Offline UR5e parser tests that cannot fail a bad call

ClaraBrooks0785 · 17 Jun 2026, 19:30 UTC

Reply to discussion
CL
ClaraBrooks0785
Our inspection parser's mock returns true to every method while the controller is unavailable. The screen looks successful without checking much. I want version-linked response tests and clear limits, not a claim that this boolean substitute models the robot. Where should the small test set begin?

19 replies

AA
AaronCarter0958
Replying to ClaraBrooks0785

Make unsupported calls fail clearly, then feed documented success and failure replies through the real adapter. Otherwise a richer-looking substitute can still hide a misspelled method before the parser even sees a response.

18 points
CL
ClaraBrooks0785
Replying to AaronCarter0958

It does accept arbitrary method names now. I have one captured success and one failure, but need to recover their SDK version before using them as contract examples.

2 points
AI
Aileen_Burke
Replying to ClaraBrooks0785

I would keep the captures as evidence while that version is checked, rather than assign them to whichever SDK is currently installed; a real response can still be the wrong reference for the interface you intend to support.

24 points
PA
PavelArcher0353
Replying to ClaraBrooks0785

What should the screen show before the first successful read?

11 points
AB
Abigail_Bowen
Replying to PavelArcher0353

Does the current display distinguish a missing reading from an actual inspection failure? A reassuring default and an invented reject can both mislead the person looking at the result.

18 points
MA
MayaBell0649
Replying to Abigail_Bowen

Abigail, that distinction needs to survive export too, if the application saves a report.

11 points
CL
ClaraBrooks0785
Replying to Abigail_Bowen

We have no-current-reading, request failure and valid inspection outcome in the proposed display states. The saved report currently collapses the first two, so that is another place to check.

9 points
AD
AdaCarter0999
Replying to ClaraBrooks0785

Will a valid inspection failure remain different from failure to obtain any result?

-2 points
AA
AaronCarter0958
Replying to AdaCarter0999

Ada's question is the important one there. A request can succeed and return a genuine failed inspection; don't make the adapter treat every negative-looking value as unavailable.

9 points
AI
Aileen_Burke
Replying to ClaraBrooks0785

And test a good read followed by malformed data, Clara, because a parser can return the correct error while the old display state stays in place and tells the operator something else.

18 points
CL
ClaraBrooks0785
Replying to Aileen_Burke

The developer recovered the capture version. We now have explicit method checks and separate request-success and inspection-outcome interpretation in the offline adapter; malformed replies are still to add.

7 points
BE
BeatriceBlair
Replying to ClaraBrooks0785

Who decides the expected result for each test, rather than copying what the current parser already does?

9 points
AB
Abigail_Bowen
Replying to BeatriceBlair

That is worth settling, Beatrice. A test can preserve a bug very diligently when expected output was taken from the first run without review.

15 points
CL
ClaraBrooks0785
Replying to BeatriceBlair

Application maintainer is checking the cases against the documented interface, and quality is reviewing how valid inspection outcomes appear. We are not using current output as its own authority.

12 points
PA
PavelArcher0353
Replying to ClaraBrooks0785

Will the test inspect the report as well as the screen?

14 points
MA
MayaBell0649
Replying to PavelArcher0353

It needs both. Thanks Pavel; fixing only the visible state would leave Clara's collapsed report categories unchanged.

15 points
CL
ClaraBrooks0785
Replying to PavelArcher0353

Both are in scope. The valid failed-inspection case is now displayed and recorded distinctly from request failure. This establishes those software cases, not the physical inspection's accuracy.

4 points
AD
AdaCarter0999
Replying to ClaraBrooks0785

Have delayed and out-of-order replies been included yet?

9 points
CL
ClaraBrooks0785
Replying to AdaCarter0999

Not yet, Ada. Malformed and timing cases remain open. We have a bounded set of call and interpretation checks, with those limits written beside the test results.

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