Hacker News new | ask | show | jobs
by Bnshsysjab 2277 days ago
Then I end up with a driver that conforms to emulated hardware and not it’s real counterpart
2 comments

It seems like that's a concern with any testing strategy that mocks out some part of the system. Obviously there's no getting around actually testing against the hardware, but it seems like it could still be useful for the same reason tests with mock implementations are useful generally.
That's how unit tests works.