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.
简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。
What should our offline FR5 reporting substitute refuse?
DineshChen1169 · 2026年8月20日 09:17 UTC
18 条回复
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分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分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分Rachel's initial-failure case matters. Default values can look remarkably official once somebody gives them a green label and a timestamp.
18分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分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分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分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分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分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分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分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分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分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分Can a different instructor tell from the screen which observation is current, without you explaining the repair beside them?
3分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分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分