Skip to content

Add verification of results via regexp #37

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 1 commit into
base: master
Choose a base branch
from

Conversation

dvalinrh
Copy link
Contributor

@dvalinrh dvalinrh commented Jun 23, 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
# connection:TPM
10:421331
20:566553
40:535533

Regexp file contents
%_header
# connection:TPM
%_multiples
[[:digit:]][[:digit:]]{0,}:[1-9][0-9.]{1,}:1$

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

Field 1: %_iteration means we expect to find anumerical value
Field 2: We expect to find a non zero numerical value.

Before/After Comparison

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

Clerical Stuff

This closes #34

Mention the JIRA ticket of the issue, this helps keep
everything together so we can find this PR easily.

Relates to JIRA: RPOPC-422

Testing

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 23, 2025 09:22
@dvalinrh dvalinrh self-assigned this Jun 23, 2025
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