Offline UR5e display test accepts a call I misspelled

FarahBaker0504 · 10 Apr 2026, 16:15 UTC

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

3points
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

21points
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.

9points
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

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

10points

Discussion closed

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