Trait kitten::GWT[][src]

pub trait GWT<Result, SystemUnderTest> {
    fn given(self, function: fn() -> SystemUnderTest) -> Self;
fn and_given(self, function: fn() -> SystemUnderTest) -> Self;
fn when(self, function: fn(_: &SystemUnderTest) -> Result) -> Self;
fn then(self, function: fn(_: &Result)) -> Self;
fn and(self, function: fn(_: &Result)) -> Self; }

Required methods

fn given(self, function: fn() -> SystemUnderTest) -> Self[src]

fn and_given(self, function: fn() -> SystemUnderTest) -> Self[src]

fn when(self, function: fn(_: &SystemUnderTest) -> Result) -> Self[src]

fn then(self, function: fn(_: &Result)) -> Self[src]

fn and(self, function: fn(_: &Result)) -> Self[src]

Loading content...

Implementors

impl<Result, SystemUnderTest> GWT<Result, SystemUnderTest> for Test<Result, SystemUnderTest>[src]

fn given(self, function: fn() -> SystemUnderTest) -> Self[src]

fn and_given(self, function: fn() -> SystemUnderTest) -> Self[src]

fn when(self, function: fn(_: &SystemUnderTest) -> Result) -> Self[src]

fn then(self, function: fn(_: &Result)) -> Self[src]

fn and(self, function: fn(_: &Result)) -> Self[src]

Loading content...