Documentation
¶
Overview ¶
Package tfstest provides a shared test suite for torrentfs Backend implementations (e.g. hanwen-torrentfs, og-torrentfs).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestSuite ¶
RunTestSuite runs the full torrentfs integration test suite using the provided mount function. Call it from a Test* function in the backend repo:
func TestTorrentFS(t *testing.T) {
torrentfstest.RunTestSuite(t, myMountFunc)
}
Types ¶
Click to show internal directories.
Click to hide internal directories.