That is a useful failure to start with. Can your test require an actual read and check where the displayed value came from, instead of merely checking that the screen is green?
简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。
The FR5 test screen stays green after I remove the read
AdaBell0651 · 2026年2月22日 08:16 UTC
20 条回复
It only checks colour. Initial value is accepted, so no read is needed to satisfy it.
7分Start unknown. No observation should not look accepted.
8分Check the status and its source together. For our equipment screens I ask for the sample identity and observation time beside the result, because a correct-looking value can still belong to the previous sample. Your offline test can exercise that distinction without a controller.
12分Mina, yes, though Ada should first make the missing read fail. Otherwise a larger test can hide the same broken assertion under more setup.
20分Missing-read case fails now. Fake records calls, and display starts unknown. Next: return shapes, not more green.
13分Use the documented interface your adapter actually wraps. Don't invent a convenient response shape.
10分Does the fake also reject a method name your real interface doesn't have, or could a typo still get a cheerful answer?
24分Typos raise now. Unsupported arguments too. Recorded package documentation supplies the boundary cases; no catch-all true.
23分Try failure after a valid reading. That's the one I'd worry about as an operator: I have seen it work, then the connection fails, and the old good value sits there looking reassuring.
17分And distinguish a communication failure from an actual rejected housing. Both may need attention, but the person handling the housing needs to know which one occurred. Did your previous display make that difference visible?
16分No, Mina. Same red state for both. I've split unavailable from inspected reject and retained the reason.
15分Has the good-then-failed sequence caught anything else, Ada?
4分It left the old sample name beside unavailable. Result cleared, identity didn't. Fixed and added that assertion.
9分Nice catch. What does an unreadable result do?
10分Kai means a response your adapter can't interpret, I think, rather than a housing the inspection has rejected. Worth giving that its own test input.
7分Yes, malformed response. My wording was vague.
7分Thanks for spelling that out, Kai. Include the diagnostic reason without showing the housing as rejected; otherwise the operator may send a perfectly unassessed sample down the reject route.
22分Malformed response stays unavailable with a reason. Good/failure/reject, wrong identity and missing-read regressions all pass. Offline display bug closed.
9分Useful result. Give the bench maintainer those sequences and the package reference for the installed comparison, so they know exactly which behaviours you exercised rather than receiving a screenshot of a happy screen.
6分讨论已关闭
此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .