8000 Support explicit test cases like Rust's explicit_test_case · Issue #139 · hegeldev/hegel-cpp · GitHub
[go: up one dir, main page]

Skip to content

Support explicit test cases like Rust's explicit_test_case #139

Open

Description

@cjm-dd

Could C++ get an equivalent of Rust’s #[hegel::explicit_test_case], including for hegel::test inside GoogleTest?

I’d like to keep discovered counterexamples as permanent regression cases: run them on every invocation, expect them to pass, then continue with generated cases. failure_blobs doesn’t cover this because replay expects the example to fail.

For that regression use case, ideally we could paste the printed replay tokens directly into a fixed inline corpus. Each token would run through the existing property and be expected to pass, followed by generated cases. That would avoid manually translating counterexamples into named values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementit's not broken, but we want it to be better

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0