Offline UR5e display test accepts a call I misspelled

FarahBaker0504 · 2026年4月10日 16:15 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

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 条回复

PA
PavelBennett0701

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分
FA
FarahBaker0504

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分
PA
PavelBennett0701

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

9分
FA
FarahBaker0504

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分
PA
PavelBennett0701

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分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .