Skip to content

Add test verifcation via regexp #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add test verifcation via regexp #45

wants to merge 2 commits into from

Conversation

dvalinrh
Copy link
Contributor

@dvalinrh dvalinrh commented Jun 20, 2025

Description

This adds the required files and hooks into the wrapper for verification of the test results via regexp.
Mapping results to regexp
Typical results
Test:Avg:Unit
2to3:346.77:ms
async_generators:486.40:ms
async_tree_none:555.63:ms

Regexp file contents
%_header
Test:Avg:Unit
%_multiples
:[1-9]\d*(.\d+)?|\d*.[1-9]\d*:ms|us|ns|s$

%_header: Indicates the next line is a header that we need to match.

%_multipes
Field1: Matches anything.
Field2: Success if the value is non-zero (regexp generated by Gemini)
Field3: Time unit, matches on ms, us, ns and s

Before/After Comparison

Before change: Failures will occur on validation
After change: Passes when it should, fails when it should.

Clerical Stuff

This closes #43

Relates to JIRA: RPOPC-427

Running the wrapper (modifying the regexps to force failures)
Verified test fails when it has bad data
Verified test passes when we have good data.

@dvalinrh dvalinrh requested a review from a team June 20, 2025 09:04
@dvalinrh dvalinrh self-assigned this Jun 20, 2025
Copy link

This relates to RPOPC-427

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.

Add verification support
1 participant