use-test-fixture 0.1.0

Fixture metadata and scope vocabulary for RustUse testing primitives.
Documentation
  • Coverage
  • 25%
    3 out of 12 items documented1 out of 6 items with examples
  • Size
  • Source code size: 4.31 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 375.08 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-test
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-test-fixture

Fixture metadata and scope vocabulary for RustUse testing primitives.

Experimental

use-test-fixture is experimental while use-test remains below 0.3.0.

Example

use use_test_fixture::{TestFixture, TestFixtureScope};

let fixture = TestFixture::new("temp-dir", TestFixtureScope::Case);

assert_eq!(fixture.name(), "temp-dir");
assert_eq!(fixture.scope(), TestFixtureScope::Case);

Scope

  • Fixture names.
  • Case, suite, module, and session scopes.

Non-goals

  • Setup execution, teardown execution, async behavior, resource allocation, or dependency injection.

License

Licensed under either Apache-2.0 or MIT.