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

[Tests] Remove duplicates from XASdkTests #8214

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

pjcollins
Copy link
Member

I've spent some time reviewing tests in XASdkTests, BuildTest, and BuildTest2. Tests from XASdkTests have been migrated to other fixtures or removed where applicable.

  • DotNetBuildXamarinForms has been removed and merged into CheckMonoComponentsMask.

  • DotNetIncremental has been removed and merged into BuildIncrementalAot.

  • DotNetDesignTimeBuild has been renamed to DesignTimeBuildSignAndroidPackage.

  • BenchmarkDotNet has been removed and merged into BuildHasNoWarnings.

  • BuildApplicationWithJavaSource has been removed due to existing coverage of .java file inclusion elsewhere.

  • BuildReleaseApplicationWithNugetPackages has been removed due to existing coverage in GenerateLibraryResourcesTests.

  • BuildAfterAddingNuget has been removed as the same scenario is covered in BuildAfterUpgradingNuget.

  • ValidateJavaVersion has been removed as .NET Android requires JDK 11+, which is not covered by any of the legacy parameters.

I've spent some time reviewing tests in `XASdkTests`, `BuildTest`, and
`BuildTest2`.  Tests from `XASdkTests` have been migrated to other
fixtures or removed where applicable.

 * DotNetBuildXamarinForms has been removed and merged into CheckMonoComponentsMask.

 * DotNetIncremental has been removed and merged into BuildIncrementalAot.

 * DotNetDesignTimeBuild has been renamed to DesignTimeBuildSignAndroidPackage.

 * BenchmarkDotNet has been removed and merged into BuildHasNoWarnings.

 * BuildApplicationWithJavaSource has been removed due to existing coverage of .java file inclusion elsewhere.

 * BuildReleaseApplicationWithNugetPackages has been removed due to existing coverage in GenerateLibraryResourcesTests.

 * BuildAfterAddingNuget has been removed as the same scenario is covered in BuildAfterUpgradingNuget.

 * ValidateJavaVersion has been removed as .NET Android requires JDK 11+, which is not covered by any of the legacy parameters.
@pjcollins pjcollins marked this pull request as ready for review July 27, 2023 18:40
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

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

I did a casual review, and it doesn't seem like we lose anything for these?

How much faster is the test run? Or is it hard to tell?

@pjcollins
Copy link
Member Author

I did a casual review, and it doesn't seem like we lose anything for these?

Yeah we are dropping some tests but shouldn't lose any coverage.

How much faster is the test run? Or is it hard to tell?

Unfortunately it's too hard to measure any execution time change in CI with the new fixtures and the splitting up of tests across 6 to 10 nodes.

@pjcollins pjcollins merged commit ae4f229 into dotnet:main Aug 2, 2023
49 checks passed
@pjcollins pjcollins deleted the move-xasdktest branch August 2, 2023 16:26
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants