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

Pass paths to test script from build-and-test #6055

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

lbussell
Copy link
Contributor

This fixes a bug which prevented you from running the correct tests when passing paths to build-and-test.ps1

Other changes:

  • Avoid running the pre-build tests twice by removing it from the test categories if it is ran before the build step.
  • Don't run the build twice if we aren't building samples.
  • Adjust the default test categories to make building and testing faster by default.

@lbussell
Copy link
Contributor Author

Added an extra feature that I had been trying for a while - you can run very specific tests by passing -CustomTestFilter "VerifyFxDependentAppScenario". Or more specific, "AspnetImageTests.VerifyFxDependentAppScenario". It is based on the fully qualified name of the test method.

@lbussell lbussell enabled auto-merge (squash) November 15, 2024 18:23
@lbussell lbussell merged commit c680888 into dotnet:nightly Nov 15, 2024
107 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants