Re:How to write unit tests in C++ relying on non-code files?
by seeknotfind on Friday February 23, 2024 @12:49AM
(#39477401)
You can use FUSE :)
[ Parent
| on HN ]
Re:How to write unit tests in C++ relying on non-code files?
by vardump on Friday February 23, 2024 @08:49AM
(#39480525)
Sadly, FUSE is far from fast.
Great for quick fixes though, it's crazy to be able to locally mount a disk image that sits on the other side of the world on an HTTP server.
Re:How to write unit tests in C++ relying on non-code files?
by seeknotfind on Friday February 23, 2024 @08:29PM
(#39488298)
As far as it's ability as an FS mocking layer for tests, I'd think its principle disadvantage would be on FUSE only making sense on UNIX-like systems.