Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit f24045c462.
PrevUpHomeNext

unit_test::suite

A testsuite class.

Synopsis

Defined in header <boost/beast/_experimental/unit_test/suite.hpp>

class suite
Types

Name

Description

scoped_testcase

Static Member Functions

Name

Description

expect

Evaluate a test condition.

fail

Record a failure.

this_suite

Returns the "current" running suite.

Member Functions

Name

Description

arg

Return the argument associated with the runner.

except

expect

Evaluate a test condition.

fail

Record a failure.

operator()

Invokes the test using the specified runner.

operator=

pass

Record a successful test condition.

suite [constructor]

unexcept

unexpected

~suite [destructor]

Data Members

Name

Description

expect

Evaluate a test condition.

fail

Record a failure.

log

Logging output stream.

testcase

Memberspace for declaring test cases.

Description

Derived classes execute a series of testcases, where each testcase is a series of pass/fail tests. To provide a unit test using this class, derive from it and use the BOOST_BEAST_DEFINE_UNIT_TEST macro in a translation unit.


PrevUpHomeNext