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

fr5 mock says true and hides the status mistakes

NinaBarnes0588 · 2026年6月24日 08:26 UTC

回复讨论
NI
NinaBarnes0588
The cell is unavailable, so I'm testing fixture-status interpretation offline; our fake SDK says true to everything and makes the screen look fine, which tells me very little about whether we've used the interface correctly

6 条回复

JA
JackBrooks0863

What does the real documented call return on success and failure? I'd start there and make the fake strict about the methods and arguments your application uses, because a boolean that blesses every call can hide a typo as happily as a missing payload. Run the real parser against those version-linked examples, not a second pretend parser inside the mock.

14
NI
NinaBarnes0588

Our documented success has status plus data; failure has no usable fixture state. Developer found the screen adapter turns missing data into zero, then labels that as a real state

22
AL
AlexBennett0733

That is a specific failure to retain in the tests. What does the screen do after one valid observation followed by failure, as well as on the very first failed read? A held old value and a fabricated zero are different misleading displays.

17
NI
NinaBarnes0588

Old value stays looking current after a later failure. Developer has split current, stale and unavailable in the test build, with last-success time shown only when there was one

1
JA
JackBrooks0863

Can you make the strict fake reject unknown calls and malformed return shapes too, Nina? The status-display fix is useful, but your original question included catching interface mistakes, not only making documented failures look honest.

19
NI
NinaBarnes0588

Those checks pass now, along with first failure, success then failure and recovery to a new success; wrong signatures fail explicitly and unexpected replies stay unavailable. Maintainer accepted the parser and display fix from these offline cases, with real-interface verification still required when the cell returns

15

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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