plissken-core::test_fixtures Rust¶
Test fixture utilities for plissken-core tests.
This module provides helpers for accessing test fixtures in the workspace's
tests/fixtures/ directory. It centralizes fixture path construction and
provides convenient accessors for common fixture files.
Examples:
use crate::test_fixtures::{fixtures_root, fixture_path};
let hybrid_binary = fixture_path("hybrid_binary/rust/lib.rs");
let pure_python = fixtures_root().join("pure_python/scheduler.py");
Functions¶
plissken-core::test_fixtures::fixtures_root¶
pub
Returns the path to the workspace's tests/fixtures/ directory.
This navigates from the crate's manifest directory up to the workspace root and into the fixtures directory.
Source
plissken-core::test_fixtures::fixture_path¶
pub
Returns the full path to a fixture file or directory.
Parameters:
| Name | Type | Description |
|---|---|---|
relative_path |
- |
Path relative to the fixtures directory |
Examples: