Closed LukasBombach closed 4 years ago
I think we should dump some real binary data from the machine as well, in different stages, and use that. There can be cases where parsing a number works when it’s below a certain threshold, but is incorrectly parsed when above it (LSB and endianess and whatever).
Snapshotting the responses is fine, I think. We just need to double check the snapshots are correct now, comparing it to the Decent UI. Are there any tests in the Tcl code with test data?
Makes sense, definitely. I am not sure, but I think there are no tests at all in the TCL app
Are you still ok with merging this now?
😍
Remodeled parser tests to use snapshots throughout the test. The snapshots themselves should still be readable as the numbers used as input are also the numbers that are returned.