mbrubeck / tree_magic

Determines the MIME type of a file by traversing a filetype tree.
MIT License
34 stars 9 forks source link

Please include tests in the crate #17

Closed michel-slm closed 7 months ago

michel-slm commented 1 year ago

Tests are not currently included in the crate; this means when packaging tree_magic_mini in distributions we can't verify that it works correctly or not

mbrubeck commented 7 months ago

The test suite for this crate is too large to publish on crates.io (and I hope to make it even larger in the future).

I suggest importing it from the git repo instead as part of your packaging process. I apologize for the inconvenience, but I’d rather require a little extra work for the minority who actually run the tests, than force everyone who builds any crate that depends on tree_magic_mini to download the test suite.

mbrubeck commented 6 months ago

Source tarballs with tests included are available at https://github.com/mbrubeck/tree_magic/releases