Expand description
Test-only helpers shared by the ifc-lite crates’ test suites.
fixtures: catalogued-fixture resolution that honoursIFC_LITE_REQUIRE_FIXTURES(the single home of that policy).step: an in-memory STEP file builder.mesh: mesh oracles over rawpositions/indicesslices.
This crate is publish = false and std-only. Depend on it as a
path-only [dev-dependencies] entry (ifc-lite-testkit = { path = "../testkit" }, no version) so cargo strips it when packaging and the
publish order is unaffected.
Re-exports§
pub use fixtures::fixture_bytes;pub use fixtures::fixture_path;pub use fixtures::fixture_present;pub use fixtures::fixture_text;pub use fixtures::local_fixture_text;pub use fixtures::repo_root;pub use fixtures::require_fixtures;pub use fixtures::FixtureError;pub use step::step_file;
Modules§
- fixtures
- Catalogued-fixture resolution (
tests/models/**). - mesh
- Mesh oracles over raw
positions(xyz triples) /indicesslices. - step
- In-memory STEP file builder for tests.
Macros§
- fixture_
bytes_ or_ skip - Bind the fixture bytes of
$relor return from the enclosing test. - fixture_
text_ or_ skip - Bind the fixture text of
$relor return from the enclosing test (the skip). UnderIFC_LITE_REQUIRE_FIXTURES=1a missing fixture panics.