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

Libraries testing #178

Merged
merged 5 commits into from
Nov 21, 2019
Merged

Libraries testing #178

merged 5 commits into from
Nov 21, 2019

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Nov 21, 2019

Fixes #93
Fixes #178
Related dotnet/arcade#4414

The existing package Microsoft.DotNet.CoreFxTesting lived in Arcade
because of no infrastructure being available to compile local tasks in
the repository. As the runtime repository now offers that we can inline
the testing framework.

Also upgraded the ReportGenerator global tool version.

cc @stephentoub

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Is this all just copy/paste? If so, LGTM.

@ViktorHofer
Copy link
Member Author

Is this all just copy/paste? If so, LGTM.

Unfortunately that wasn't possible. I had to rewrite a chunk of the existing code and inlined couple places into existing code.

@ericstj
Copy link
Member

ericstj commented Nov 21, 2019

Can you point out the diffs?

@ViktorHofer
Copy link
Member Author

ViktorHofer commented Nov 21, 2019

Not touched and just moved:

  • eng/testing/RunnerTemplate.Unix.txt
  • eng/testing/RunnerTemplate.Windows.txt
  • eng/testing/xunit/xunit.runner.json
  • eng/testing/xunit/xunit.targets
  • src/libraries/pretest.proj
  • tools-local/tasks/installer.tasks/GenerateFileVersionProps.cs
  • tools-local/tasks/installer.tasks/GenerateRunScript.cs
  • tools-local/tasks/installer.tasks/GenerateTestSharedFrameworkDepsFile.cs

Partially touched:

  • eng/testing/coverage.props
  • eng/testing/coverage.targets
  • eng/testing/launchSettings.targets
  • eng/testing/netfx.exe.config
  • eng/testing/runtimeConfiguration.targets
  • eng/testing/tests.props
  • eng/testing/tests.targets

Others are new.

@ViktorHofer
Copy link
Member Author

There seems to be an issue with the default references that I need to resolve.

The existing package Microsoft.DotNet.CoreFxTesting lived in Arcade
because of no infrastructure being available to compile local tasks in
the repository. As the runtime repository now offers that we can inline
the testing framework.
@ViktorHofer
Copy link
Member Author

This should be ready now.

Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Skimmed it and it looked ok.

Make sure to test local dev test explorer scenario manually

@@ -130,5 +130,9 @@
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
<Sha>d0bb63d2ec7060714e63ee4082fac48f2e57f3e2</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Test.Sdk" Version="16.4.0">
Copy link
Member

Choose a reason for hiding this comment

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

Are we going to consume this via maestro? Are they already publishing to BAR?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes:

https://github.com/Microsoft/vstest (.NET Core Tooling Dev) ==> 'https://github.com/dotnet/runtime' ('master')
  - Id: 290ec264-66d2-456a-879f-08d75d523bc9
  - Update Frequency: EveryDay
  - Enabled: True
  - Batchable: True
  - Merge Policies:
    Standard

@ViktorHofer ViktorHofer merged commit 1d5de15 into dotnet:master Nov 21, 2019
@ViktorHofer ViktorHofer deleted the LibrariesTesting branch November 21, 2019 22:13
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
MichalStrehovsky pushed a commit to MichalStrehovsky/runtime that referenced this pull request Mar 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move CoreFxTesting arcade package into runtime repo
5 participants