What should our offline FR5 reporting substitute refuse?

DineshChen1169 · 2026年8月20日 09:17 UTC

回复讨论

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

DI
DineshChen1169
Controller unavailable at the training bench. Our FR5 reporting mock returns true everywhere, so the inspection-block screen looks healthy without exercising the interface. I need useful software checks, not a claim to simulate the physical robot.

18 条回复

OW
OwenArcher0399

Start with the documented calls your application actually uses, checking their arguments and response shapes; an unexpected method should fail the test rather than receive another helpful true.

4分
ER
EricBriggs

Where do the response examples come from? Use the installed contract and identifiable captured examples where available. A strict fake with an invented contract is still capable of agreeing very confidently with the wrong application.

17分
HE
HenryChan1047

Do you need all the SDK methods? I would keep this to the reporting boundary, with unsupported calls obvious. Building a pretend robot is a much larger task than checking a parser.

9分
RA
RachelBrooks0870

I've seen an old value keep reassuring people after the connection label changed. Include what the screen shows after a good reading followed by failure, and after failure with no prior reading. The fake can exercise those without pretending anything physical moved.

3分
GR
GraceAdams0146

Rachel's initial-failure case matters. Default values can look remarkably official once somebody gives them a green label and a timestamp.

18分
DI
DineshChen1169
回复 EricBriggs

Only three read-only calls are used. I have their installed documentation and two captured successful responses. Failure examples will be documented cases with their source stated, not described as captured events.

16分
DE
DeanCarr

Who will update those three contracts when the training environment changes, instead of leaving the next instructor a fake that tests last year's setup?

8分
OW
OwenArcher0399
回复 DeanCarr

Keep the examples and expected interpretation versioned beside the adapter, with unsupported shapes rejected explicitly. That makes an environment change a visible review rather than a silent expansion of what the fake approves.

5分
DI
DineshChen1169

Application maintainer owns that record. Strict argument checks now expose a wrong keyword in our caller. The fake still supplies response cases through the same parser the real application uses.

10分
ER
EricBriggs

Good. Has a failed response containing a plausible status value been tested? A range check can miss the original problem if the fake's failure data is conveniently impossible.

22分
HE
HenryChan1047
回复 EricBriggs

And don't replace the real parser in the test to make that case easy to assert. The boundary matters more than the number of mock cases on a report.

17分
DI
DineshChen1169
回复 EricBriggs

That case fails correctly at the adapter now. The screen test found a different issue: after rejection it keeps the last good value under the current heading. Caller keyword repaired, display repair still open.

21分
RA
RachelBrooks0870

Show the earlier observation as earlier, if it is useful to keep it. Give the current request its own unavailable result and reason, with the observation time separate from the latest attempted read. The user shouldn't need your test log to discover that no fresh answer arrived.

7分
GR
GraceAdams0146

Who reads the export, if there is one? Fixing the label won't help another report if it still consumes the stale value as current.

20分
DI
DineshChen1169

There is an export. It had the same stale-current confusion. Both now use the adapter result and separate observation time; initial failure, good-then-failed and malformed cases pass in the offline checks.

23分
DE
DeanCarr

Can a different instructor tell from the screen which observation is current, without you explaining the repair beside them?

3分
DI
DineshChen1169
回复 DeanCarr

Instructor readback distinguished unavailable current data from the retained earlier observation. Thanks Rachel, the separate times helped. Real-controller confirmation remains due when the bench returns; timing and disconnect coverage are also unfinished.

21分
ER
EricBriggs

Keep those unfinished cases beside the results, not beneath a general passed banner. You have found and repaired specific software defects with a bounded substitute, which is useful without making it more than that.

17分

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 和 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。