Skip to content

Spr 939 test runner improvement#590

Merged
garthgoodson merged 34 commits into
mainfrom
SPR-939-test-runner-improvement
Aug 25, 2025
Merged

Spr 939 test runner improvement#590
garthgoodson merged 34 commits into
mainfrom
SPR-939-test-runner-improvement

Conversation

@ella-springtail

Copy link
Copy Markdown
Contributor

The code is ready for review. There is a failure in github CI workflow that is not related to the changes in the test framework. I am in the process of verifying the nightly build as well.

@linear

linear Bot commented Aug 14, 2025

Copy link
Copy Markdown
SPR-939 Test runner: fixup runtime options

Right now you can run the test runner using the following options:
-a : run everything all test cases; used by nightly

<test_case_name> : run that test case and its overlays

-o : overlay and all test cases using that overlay — I believe — (may be combined with test_case_name)

: run default test cases and their overlays

Right now:

Running with no default runs the default set and EVERYTHING in the overlays even if the overlay specifies different test_cases.

The only way to have a test that depends on an overlay is to set a flag in the overlay section, but this test case can't be run in the defaults since it won't apply the overlay.

Need to clean it up; the code in test_runner.py is convoluted.
The -a option should run everything will all overlays
No options should run the default set and the overlays for THAT default set ONLY

There should be a way to specify a test_case requires an overlay.
The -o option should continue to work when specified either with a specific test_case or no test_case.

@curiosthoth curiosthoth 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.

Changes look good for the CI part.

@craigsoules craigsoules left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

One very minor comment. Will let Garth do the approval.

Comment on lines +125 to +127
def skip(self) -> bool:
return self._skip

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It doesn't look like you actually need this, so I'd remove it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This function is used by the test_runner.py.

@garthgoodson garthgoodson 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.

Couple of questions

Comment thread python/testing/test_set.py Outdated
Comment thread python/testing/test_set.py Outdated
Comment thread python/testing/test_runner.py Outdated
@sonarqubecloud

Copy link
Copy Markdown

@garthgoodson garthgoodson merged commit 4cef9d1 into main Aug 25, 2025
6 checks passed
@garthgoodson garthgoodson deleted the SPR-939-test-runner-improvement branch August 25, 2025 17:32
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.

5 participants