Skip to content
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

Add -category argument to TestRunner #5358

Merged
merged 2 commits into from
Jun 27, 2023

Conversation

danieldresser-ie
Copy link
Contributor

As discussed, replace -performanceOnly with a more flexible argument.

Since we haven't decided yet whether to set release builds to -category standard, I tried setting up a temp build with it set for comparison purposes ... we'll see if I botched that syntax.

@danieldresser-ie
Copy link
Contributor Author

Looks like in this test, turning off the release build performance tests took 700 seconds vs 1300 seconds. I'm not sure whether that means it's worth it to turn them off

@johnhaddon
Copy link
Member

I guess it depends on what we're trying to optimise - time to first green check, or time to all green checks. If it's all green checks then we might as well keep running the performance tests on release builds, because they'll still be finishing faster than the linux debug build (although we might want to drop them from windows?). If it's time to first green check then it might be worth dropping. I think I'd be inclined to keep, at least on Linux.

@danieldresser-ie danieldresser-ie marked this pull request as ready for review June 26, 2023 21:45
@johnhaddon johnhaddon merged commit 7210fa4 into GafferHQ:main Jun 27, 2023
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 17, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 17, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 18, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 18, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 22, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 23, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
johnhaddon added a commit to johnhaddon/gaffer that referenced this pull request Aug 23, 2023
This builds on the work done in GafferHQ#5358, allowing tests to be assigned to arbitrary categories using a new `CategorisedTestMethod` decorator. It also offers improved filtering by category in `gaffer test` by supporting wildcards and adding a `-excludedCategories` argument.

This will allow us to use test categories to group tests that are related in some way and are commonly run together during development.
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.

2 participants