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

FR5 fixture screen with an offline substitute that never says no

VictoriaCarr · 2026年7月6日 17:23 UTC

回复讨论
VI
VictoriaCarr
Our training bench is unavailable, so I tried the fixture-status application with its offline mock. Every method returns true and the coupon screen looks satisfied. I want to test the software calls and response interpretation, not pretend that a successful fake read represents a physical fixture test.

5 条回复

DI
DineshChen1169

Where does the mock enter the application? It needs the supported method signatures and response contract, with failed and valid-negative examples passing through the normal decoder.

16
VI
VictoriaCarr

It replaces the client but accepts any method name and arguments. We have replaced that catch-all with the documented interface and replayed recorded response shapes through the decoder. That exposed a misspelled method which the old mock had happily accepted.

12
DI
DineshChen1169

Do those tests also assert the visible result after a failed read follows a good one? Correct decoding can still leave a misleading old status onscreen.

7
VI
VictoriaCarr

Not yet. The current assertions stop at the decoder result, so I cannot call the display handling tested. I've added that transition to the remaining scope along with unavailable data at startup.

15
DI
DineshChen1169

Keep both limits in handover: interface and decoder cases checked, display transitions outstanding. Controller behaviour and physical fixture interpretation remain separate bench checks.

13

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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