Skip to content

Add assertions utilities #7

@bitwizeshift

Description

@bitwizeshift

Blocked by #6

The builtin assertions are lackluster for testing in that they only cover assert_eq, assert_ne, assert, and assert_match (nightly). Ideally we should have the full collection of unit test assertion helpers like mature unit test libraries have, such as GTest.

This is to track adding assertions for eq, ne, true, false, regex, match, etc.
These should make use of the test-return-types, which also enables adding simple succeed!() and fail!() macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ FeatureNew feature being added

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions