/// Create a new artifact scoped to the test run.
Create a new artifact scoped to the test run.
Create a new artifact scoped to the test run .
pub fn new_artifact(&self, artifact_type: &ArtifactType) -> Result<Box<DynArtifact>, Error> {
        self.reporter
            .new_artifact(&EntityId::TestRun, artifact_type)
            .map(|artifact| (self.artifact_wrapper)(artifact_type, artifact))
    }
pub fn new_artifact ( & self , artifact_type : & ArtifactType ) -> Result < Box < DynArtifact > , Error > { self . reporter . new_artifact ( & EntityId :: TestRun , artifact_type ) . map ( | artifact | ( self . artifact_wrapper ) ( artifact_type , artifact ) ) }
Create a new artifact scoped to the test run.
Create a new artifact scoped to the test run .
&self
artifact_type
&ArtifactType