Added an Hspec testsuite integtest. The tests mounts filesystems onto the real filesystem, so it's considered an integration test, hence the name.
Currently only a very basic set of tests are implemented. One of the test tries the basic usage of fuseGetattr. The others cover the pain point of the current libfuse3 API; fuseRead without fuseOpen and fuseReaddir without fuseOpendir shouldn't trigger runtime errors and/or some nasty bugs. (Currently they are implemented with unevaluated fromJust thunks.)
Also updated the README to mention the fuse3 package, which installs the fusermount3 command to allow unmounting FUSE filesystems.
Added an Hspec testsuite
integtest
. The tests mounts filesystems onto the real filesystem, so it's considered an integration test, hence the name.Currently only a very basic set of tests are implemented. One of the test tries the basic usage of
fuseGetattr
. The others cover the pain point of the currentlibfuse3
API;fuseRead
withoutfuseOpen
andfuseReaddir
withoutfuseOpendir
shouldn't trigger runtime errors and/or some nasty bugs. (Currently they are implemented with unevaluatedfromJust
thunks.)Also updated the README to mention the
fuse3
package, which installs thefusermount3
command to allow unmounting FUSE filesystems.