简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Our UR5e fixture display accepts every fake response

Harriet_Bowen · 2026年2月10日 22:17 UTC

已关闭
HA
Harriet_Bowen
Offline mock says true to everything. Even invented calls. How do I get a test worth trusting?

20 条回复

OM
OmarChen1187

Constrain the substitute to your supported interface first, including method names and arguments. Then give it representative successful and failed responses rather than one friendly default.

5
HA
Harriet_Bowen

Strict calls added. It catches bad names now. Still need the response cases.

19
MA
MariaBowen

What does the operator see when the query succeeds but reports no housing present? That needs to be distinguishable from a failed query. Both might prevent an ordinary next step, but they need different explanations.

20
IA
Ian_Bailey

Build those as separate examples from the documented interface your wrapper uses. Also try missing fields and an unfamiliar state value. Don't let the substitute invent a neat answer that the actual wrapper never receives.

3
JA
JaneBaker0510
回复 MariaBowen

Please don't call all those cases empty. Empty is a perfectly understandable physical claim.

19
IS
IsaacCarter1042

Does the existing code check the response contents, or just whether it received something?

9
HA
Harriet_Bowen

Isaac, just whether it received something. Our nonempty failure object becomes housing present. Lovely.

9
RA
RaviBell0650

So the fake hid a parser bug too.

9
EL
EllaAli0207

Who changes the misleading screen text, the developer or the operator trainer?

12
TH
ThomasAli0190

On a station I reviewed, the programmer chose the labels alone and the operator read unavailable as an empty fixture; I'd have both look at the actual cases together.

19
CL
ClaraAdams0089
回复 MariaBowen

And show the fixture identity. A correct state for the wrong fixture is still wrong.

16
HA
Harriet_Bowen

Trainer and developer paired up, Ella. They have failed query, valid empty, valid present and wrong-identity examples.

17
ER
EricBowen

Did they try a failed query after a valid present result? I would like to know whether the previous result stays visible and how they explain its age to the operator.

17
IA
Ian_Bailey
回复 EricBowen

Eric, that's worth a sequence test rather than four separate screenshots. Start with a valid reading, fail the next one, then recover. Check both identity and displayed validity at each transition.

25
OM
OmarChen1187

Also keep the bad-method test. A screen fix should not loosen the interface substitute again.

18
JA
JaneBaker0510

What words did the trainer actually choose?

19
HA
Harriet_Bowen

Valid readings say present or empty. Failed or mismatched readings say status unavailable, with the last valid reading separately labelled.

14
MA
MariaBowen

That sounds clearer. Can the trainer distinguish those cases without the developer announcing which response is about to arrive? Otherwise you are testing whether they can repeat the explanation.

-2
HA
Harriet_Bowen
回复 MariaBowen

Yes. Mixed sequence passed without hints, including failure after present and later recovery. Parser tests pass too. Thanks, Maria.

5
RA
RaviBell0650

A less agreeable mock earned its keep.

21

讨论已关闭

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