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

Offline UR5e parser tests that cannot fail a bad call

ClaraBrooks0785 · 2026年6月17日 19:30 UTC

回复讨论
CL
ClaraBrooks0785
Our inspection parser's mock returns true to every method while the controller is unavailable. The screen looks successful without checking much. I want version-linked response tests and clear limits, not a claim that this boolean substitute models the robot. Where should the small test set begin?

19 条回复

AA
AaronCarter0958

Make unsupported calls fail clearly, then feed documented success and failure replies through the real adapter. Otherwise a richer-looking substitute can still hide a misspelled method before the parser even sees a response.

18
CL
ClaraBrooks0785

It does accept arbitrary method names now. I have one captured success and one failure, but need to recover their SDK version before using them as contract examples.

2
AI
Aileen_Burke

I would keep the captures as evidence while that version is checked, rather than assign them to whichever SDK is currently installed; a real response can still be the wrong reference for the interface you intend to support.

24
PA
PavelArcher0353

What should the screen show before the first successful read?

11
AB
Abigail_Bowen

Does the current display distinguish a missing reading from an actual inspection failure? A reassuring default and an invented reject can both mislead the person looking at the result.

18
MA
MayaBell0649

Abigail, that distinction needs to survive export too, if the application saves a report.

11
CL
ClaraBrooks0785

We have no-current-reading, request failure and valid inspection outcome in the proposed display states. The saved report currently collapses the first two, so that is another place to check.

9
AD
AdaCarter0999

Will a valid inspection failure remain different from failure to obtain any result?

-2
AA
AaronCarter0958

Ada's question is the important one there. A request can succeed and return a genuine failed inspection; don't make the adapter treat every negative-looking value as unavailable.

9
AI
Aileen_Burke

And test a good read followed by malformed data, Clara, because a parser can return the correct error while the old display state stays in place and tells the operator something else.

18
CL
ClaraBrooks0785

The developer recovered the capture version. We now have explicit method checks and separate request-success and inspection-outcome interpretation in the offline adapter; malformed replies are still to add.

7
BE
BeatriceBlair

Who decides the expected result for each test, rather than copying what the current parser already does?

9
AB
Abigail_Bowen

That is worth settling, Beatrice. A test can preserve a bug very diligently when expected output was taken from the first run without review.

15
CL
ClaraBrooks0785

Application maintainer is checking the cases against the documented interface, and quality is reviewing how valid inspection outcomes appear. We are not using current output as its own authority.

12
PA
PavelArcher0353

Will the test inspect the report as well as the screen?

14
MA
MayaBell0649

It needs both. Thanks Pavel; fixing only the visible state would leave Clara's collapsed report categories unchanged.

15
CL
ClaraBrooks0785

Both are in scope. The valid failed-inspection case is now displayed and recorded distinctly from request failure. This establishes those software cases, not the physical inspection's accuracy.

4
AD
AdaCarter0999

Have delayed and out-of-order replies been included yet?

9
CL
ClaraBrooks0785

Not yet, Ada. Malformed and timing cases remain open. We have a bounded set of call and interpretation checks, with those limits written beside the test results.

11

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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