Offline UR5e display test accepts a call I misspelled

FarahBaker0504 · 10 Apr 2026, 16:15 UTC

Reply to discussion
FA
FarahBaker0504
Our sample-status display needs offline tests while the UR5e cell is unavailable. I deliberately misspelled a client call and the mock still returned success. Useful discovery, slightly insulting test suite. I have the applicable interface guide; I need the fake to enforce that contract rather than bless whatever the display happens to ask for

5 replies

PA
PavelBennett0701
Replying to FarahBaker0504

I'd make unsupported calls fail explicitly. On a previous display job we tested the readable response and forgot the failure that left the last green value on screen; a mock that always succeeds would have hidden that too.

3 points
FA
FarahBaker0504
Replying to PavelBennett0701

Unsupported call now fails, and I've added the documented failed-read response. That exposed our display retaining the last available status with no stale indication. The value is useful history, but it looks current

21 points
PA
PavelBennett0701
Replying to FarahBaker0504

Does the display retain when that value was actually observed? Otherwise changing its colour still leaves somebody guessing how old it is.

9 points
FA
FarahBaker0504
Replying to PavelBennett0701

Yes, the original observation time is already stored. The screen doesn't show it on this path. That's the edit, along with making the failed read visible

16 points
PA
PavelBennett0701
Replying to FarahBaker0504

After that, try failure followed by recovery as well as recovery followed by failure. And leave the installed comparison outstanding until you can use the cell; getting the offline contract right is useful work on its own.

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