Skip to content

Revise design of untestable assertions#1440

Merged
stalgiag merged 5 commits into
developmentfrom
gh-1429-revise-untestable
Jun 26, 2025
Merged

Revise design of untestable assertions#1440
stalgiag merged 5 commits into
developmentfrom
gh-1429-revise-untestable

Conversation

@jugglinmike

Copy link
Copy Markdown
Contributor

@jugglinmike jugglinmike changed the title Gh 1429 revise untestable Revise design of untestable assertions Jun 19, 2025
> Instead of implementing requirement 4 as written in #1352, I propose
> that we keep the calculation of percentage passing assertions
> unchanged from its prior formula:
>
> > (count of passing p1 assertions + count of passing p2 assertions) / (count of p1 assertions + count of p2 assertions)
> when untestable assertions are present, after the Summary of Negative
> Side Effects and before the results for the first test, add a section
> with:
>
> 1. A heading with content: "Summary of Untestable Assertions (N must,
>    N should, N may)"
> 2. A table with the same columns and type of content as the summary of
>    failing assertions:
>    1. Test Name
>    2. Command
>    3. Assertion Priority
>    4. Assertion
>    5. AT_NAME Response
> 3. The table should have an accessible name provided by the heading.
@jugglinmike
jugglinmike force-pushed the gh-1429-revise-untestable branch from 5edd041 to 2aa994b Compare June 26, 2025 03:15
@jugglinmike
jugglinmike force-pushed the gh-1429-revise-untestable branch from 2aa994b to cae9ff7 Compare June 26, 2025 03:27
@jugglinmike
jugglinmike marked this pull request as ready for review June 26, 2025 03:40
@jugglinmike

Copy link
Copy Markdown
Contributor Author

@stalgiag & @ChrisC: this is ready for review!

I've rebased this branch over the latest commit in development (since there are no reviews in progress) and updated according to the latest design feedback in gh-1429. (The previous version of this branch is available here, in case that's of interest to anyone.) There is still an open question there, but because it reflects only a small cosmetic detail, I'm proposing we address it with a follow-up.

This changeset includes a revision to an assumption we made in an earlier patch. It would be cleaner to address that revision in a separate pull request, but I've taken it on here so as not to further delay this work. (As a middle ground, I've structured those changes into a dedicated commit.)

@stalgiag stalgiag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and this satisfies my understanding of the requirements for now. The code is great and clean. Great job finding all of the necessary related changes.

I agree with handling the remaining design unknown in a follow-up.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome improvement!

...processPriorityAssertionResults('MUST'),
...processPriorityAssertionResults('SHOULD')
];
const assertionResults = scenarioResult.untestable

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elegant!

@stalgiag
stalgiag merged commit 06e1875 into development Jun 26, 2025
1 check passed
@stalgiag
stalgiag deleted the gh-1429-revise-untestable branch June 26, 2025 20:35
howard-e added a commit that referenced this pull request Jul 1, 2025
Create July 1, 2025 Release

Includes the following changes:

* #1428, which addresses #1410
* #1441, which addresses #1417
* #1443, which addresses #1442
* #1440, which addresses #1429
* #1445, which addresses #1400
* #1438, which addresses #1427
* #1446, which addresses #1430
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.

Implement revisions to reporting requirements for untestable assertions that were specified in issue 1352

2 participants