Skip to main content

get_fixture_type

Function get_fixture_type 

Source
pub fn get_fixture_type(fixture_name: String) -> Result<String, FixtureError>
Expand description

Retrieves the fixture type name for a given fixture instance string.

§Arguments

  • name - Name of the fixture instance

§Errors

  • [InvalidFixture] – if no fixture with this name exists