Struct finchers::test::TestCase [] [src]

pub struct TestCase { /* fields omitted */ }

A test case for run_test()

Methods

impl TestCase
[src]

[src]

Construct a TestCase from given HTTP method and URI

[src]

Equivalent to TestCase::new(Method::Get, uri)

[src]

Equivalent to TestCase::new(Method::Post, uri)

[src]

Equivalent to TestCase::new(Method::Put, uri)

[src]

Equivalent to TestCase::new(Method::Delete, uri)

[src]

Equivalent to TestCase::new(Method::Patch, uri)

[src]

Set the HTTP header of this test case

[src]

Set the request body of this test case

Trait Implementations

impl Debug for TestCase
[src]

[src]

Formats the value using the given formatter.