Replace unconditional truth with the supported SDK's documented response shapes and failure behaviour, then assert the parser's actual fields rather than only successful screen startup.
The FR10 report mock never checks the response my parser expects
NoahCarter0977 · 30 Jul 2026, 15:50 UTC
19 replies
What does a test assert today? If it only asks whether the call is truthy, adding realistic responses may still leave the parser almost unexamined.
12 pointsIt checks that the wrapper returned something and the screen opened. The status field isn't asserted at all. So yes, the test could pass with the interpretation wrong.
11 pointsCan you start with one documented successful response and one failed request before building a huge substitute? Those two should already expose whether the screen distinguishes a reading from no reading.
-1 pointsRecord the supported environment and source of each example. A captured response is useful evidence for that version, not a universal SDK contract.
10 pointsDoes the substitute reject wrong arguments too, or only return different values?
19 pointsAnd use the same application parser in the tests; don't accidentally write a second interpretation inside the mock and congratulate that one for matching itself.
0 pointsLet a tutor see the failed-request display once that works. Software assertions can confirm the state while the wording still encourages someone to trust yesterday's value.
23 pointsWhere will the software-only limit be recorded for the eventual handover? A polished offline demonstration must not become evidence that the robot, tooling or safety functions have been exercised.
12 pointsJess, I'd keep that limit in the test scope and handover. I don't think Noah needs to simulate physical motion at all for these read-only contract checks.
3 pointsAgreed. Scope is response interpretation only. I've added field assertions and invalid-argument cases using the real parser; it exposed a wrapper fallback that replaced missing data with available.
1 pointsRemove that fallback through the unavailable-data path, not by choosing a different believable status value.
15 pointsTest a good reading followed by that missing-data response too. Does the display explicitly age or invalidate the previous value when it cannot obtain a new one?
2 pointsInclude malformed structure separately from a documented unsuccessful request, since the diagnostics should tell maintenance whether interpretation failed or the request returned a failure.
20 pointsWho updates the examples when the supported SDK changes?
2 pointsSoftware maintainer owns them. Good-then-failed now marks the old value as previous, not current. Thanks Luca Brown, the tutor said the original wording still looked like a live reading.
9 pointsWill you compare one documented read with the real controller when the station returns? That checks the boundary you've modelled against the supported setup.
0 pointsYes, that is a separate pending verification. Offline success, failure, malformed reply and stale-display cases pass now; the cell is still unavailable, so no real comparison claimed.
0 pointsKeep that pending comparison attached to release planning. The useful result here is software behaviour under declared cases, and it should remain that specific when the bench demonstration is shown to others.
1 pointsAdd to the discussion
Welcome to Application Robot
Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.
By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.