Crates.io | test_common |
lib.rs | test_common |
version | 1.4.0 |
source | src |
created_at | 2019-06-21 22:47:30.917512 |
updated_at | 2021-10-09 21:42:27.271433 |
description | Just an utility library with functionality I usually use in my unit tests and integration tests. |
homepage | https://github.com/dante-signal31/test_common |
repository | |
max_upload_size | |
id | 142704 |
size | 34,674 |
Common functions useful for tests.
In this crate you can find some functions I use frequently at my tests.
Filesystem utilities. They are useful to prepare folders and files for your tests. Includes next modules:
Cryptographic functions for your tests. Here you can find hashing functions to check file contents.
Functions to create temporal folder and files.
Functions for file operations (copy, delete, etc).
Utilities to generate random content for your tests. Includes next modules:
Functions to create random strings.
Utilities to deal with your hot operating system. Includes next modules:
Functions to manipulate environment variables.