| Crates.io | bear |
| lib.rs | bear |
| version | 0.2.2 |
| created_at | 2014-12-07 09:40:40.51992+00 |
| updated_at | 2020-09-09 12:20:40.667467+00 |
| description | A dead-simple test helper for rust. |
| homepage | https://github.com/simnalamburt/bear |
| repository | https://github.com/simnalamburt/bear |
| max_upload_size | |
| id | 475 |
| size | 5,028 |
bear Dead-simple test helper for rust. See documentation for the further details.
# Cargo.toml
[dev-dependencies]
bear = "0.2"
// tests/test.rs
extern crate bear;
use bear::fixture;
#[test]
fn do_some_test() {
// Get a content of 'tests/fixtures/hello.txt'
let content = fixture("hello.txt");
// Do whatever you want with it
}