Skip to content

[Do-not-merge]: Remove the boost test runner#38

Draft
rustaceanrob wants to merge 1 commit into
2140-dev:masterfrom
rustaceanrob:boost-removal
Draft

[Do-not-merge]: Remove the boost test runner#38
rustaceanrob wants to merge 1 commit into
2140-dev:masterfrom
rustaceanrob:boost-removal

Conversation

@rustaceanrob
Copy link
Copy Markdown
Member

No description provided.

This adds the typical infrastructure for test suites, including a way to
declare tests, with and without fixtures, as well as a way to specify
suites. The main component is a vector of test cases, each with a suite
name, test name, and function pointer that is the user-defined test.
These are a one-to-one replacement for the boost equivalents. No
"checking" mechanisms are introduced here.

The runner simply iterates over these tests in order and calls the
function pointer.

Each macro has an explanation, some with examples.

Add expression decomposition

Implement `stringify` for any type that implements OS stream or
`std::format`. This is useful when printing an error message to the
user.

test: Add `btest::CHECK` macro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant