pub struct TraceabilityMatrixBuilder { /* private fields */ }Expand description
Builder for creating a TraceabilityMatrix from test metadata.
Implementations§
Source§impl TraceabilityMatrixBuilder
impl TraceabilityMatrixBuilder
Sourcepub fn requirement(self, section: &str, description: &str) -> Self
pub fn requirement(self, section: &str, description: &str) -> Self
Add a requirement.
Sourcepub fn requirement_with_category(
self,
section: &str,
description: &str,
category: &str,
) -> Self
pub fn requirement_with_category( self, section: &str, description: &str, category: &str, ) -> Self
Add a requirement with category.
Sourcepub fn test(
self,
spec_section: &str,
test_name: &str,
test_file: &str,
test_line: u32,
) -> Self
pub fn test( self, spec_section: &str, test_name: &str, test_file: &str, test_line: u32, ) -> Self
Add a test mapping.
Sourcepub fn build(self) -> TraceabilityMatrix
pub fn build(self) -> TraceabilityMatrix
Build the matrix.
Trait Implementations§
Source§impl Debug for TraceabilityMatrixBuilder
impl Debug for TraceabilityMatrixBuilder
Source§impl Default for TraceabilityMatrixBuilder
impl Default for TraceabilityMatrixBuilder
Source§fn default() -> TraceabilityMatrixBuilder
fn default() -> TraceabilityMatrixBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceabilityMatrixBuilder
impl RefUnwindSafe for TraceabilityMatrixBuilder
impl Send for TraceabilityMatrixBuilder
impl Sync for TraceabilityMatrixBuilder
impl Unpin for TraceabilityMatrixBuilder
impl UnsafeUnpin for TraceabilityMatrixBuilder
impl UnwindSafe for TraceabilityMatrixBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request