How can our FR5 offline check fail on an invalid response?

JackCarter1037 · 2025年9月12日 03:02 UTC

已关闭

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

JA
JackCarter1037
I watched our read-only FR5 dashboard pass its offline checks even after the developer changed an argument to one the interface does not accept, because the mock returns true for everything; could we use our saved responses to test the actual parsing and display behaviour while the cell is unavailable?

10 条回复

AI
AishaArcher0431

Use versioned response examples and enforce the documented arguments. Unknown calls should fail visibly.

10分
JA
JackCarter1037

We have saved success and failure responses from the installed version, with the method and arguments recorded, so the developer is replacing the catch-all mock with those cases first.

11分
AI
AishaArcher0431

Did the invalid argument now fail?

21分
DA
DavidChan1128

Test what the display does after a good response is followed by a failed one. The parser can report failure correctly while the screen still shows the last value as current. Our trainees trust what they can see.

6分
JA
JackCarter1037

Aisha, the invalid call fails now; David, your sequence exposed the old value staying current, and the developer is changing that display behaviour rather than replacing the failed response with a convenient default.

18分
DA
DavidChan1128

Keep the last observation time with any historical value. A refresh time beside an old reading can make it appear newly confirmed, even after the colour has changed.

7分
AI
AishaArcher0431

Also try missing data, not only an explicit failure.

10分
JO
JonasAbbott0024

Which parts of the new substitute come from saved responses and which are deliberately malformed test cases? I would name that difference so nobody mistakes an invented error case for a controller observation.

2分
JA
JackCarter1037

Jonas, captured examples keep their source version and the synthetic malformed cases are labelled separately; failed and missing data now show unavailable, with historical values retaining their observation time, and those offline checks pass, though the real-interface comparison is still waiting for the cell.

10分
AI
AishaArcher0431

Has that comparison become possible yet, or is access still pending?

25分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .