Struct rspec::block::suite::Suite[][src]

pub struct Suite<T> { /* fields omitted */ }

Test suites bundle a set of closely related test examples into a logical execution group.

Implementations

impl<T> Suite<T>[src]

pub fn new(header: SuiteHeader, environment: T, context: Context<T>) -> Self[src]

Constructs a new Suite.

impl<T> Suite<T>[src]

pub fn num_blocks(&self) -> usize[src]

pub fn num_examples(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<T> Send for Suite<T> where
    T: Send
[src]

impl<T> Sync for Suite<T> where
    T: Sync
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Suite<T>[src]

impl<T> Unpin for Suite<T> where
    T: Unpin
[src]

impl<T> !UnwindSafe for Suite<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.