#random #utility #regd

regd-testing

regd testing is a collection of utilities designed to simplify testing in regd projects

2 releases

Uses new Rust 2024

new 0.1.1 May 4, 2025
0.1.0 May 4, 2025

#257 in Testing

Download history 219/week @ 2025-04-30

219 downloads per month

Apache-2.0

20KB
127 lines

This crate contains a set of testing utilities. These utilities are not tested, are often optimized for developer experience, rather than performance, and should only be used in test code.


regd testing

regd testing is a collection of utility functions and helpers designed to facilitate testing in regd projects. It provides a set of common utilities that enhance test reliability, ease of use, and maintainability.

Features

  • Randomized Testing Support: Provides utilities for generating random values.
  • Extensions for Rust Types: Offers extensions for commonly used Rust types.
  • File I/O Support: Simplifies test-related file operations.

Installation

To use regd-testing in your Rust project, add the following dependency to your Cargo.toml:

[dev-dependencies]
regd-testing = "0.1.1"

Usage

use regd_testing::rand;

fn main() {
    let x: u32 = rand::generate();
    println!("Generated random value: {}", x);
}

License

This project is licensed under the Apache 2.0 License.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

Dependencies

~2–11MB
~136K SLoC