7 releases (stable)
1.4.0 | Oct 9, 2021 |
---|---|
1.3.0 | Mar 20, 2020 |
1.0.1 | Jun 21, 2019 |
#648 in Testing
50 downloads per month
Used in 2 crates
25KB
439 lines
test_common
Common functions useful for tests.
In this crate you can find some functions I use frequently at my tests.
Modules list
fs
Filesystem utilities. They are useful to prepare folders and files for your tests. Includes next modules:
crypto
Cryptographic functions for your tests. Here you can find hashing functions to check file contents.
tmp
Functions to create temporal folder and files.
ops
Functions for file operations (copy, delete, etc).
random
Utilities to generate random content for your tests. Includes next modules:
crypto
Functions to create random strings.
system
Utilities to deal with your hot operating system. Includes next modules:
env
Functions to manipulate environment variables.
Dependencies
~8–17MB
~318K SLoC