forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable dotnet test in libraries (dotnet#35285)
* Enable dotnet test * Update docs * Use vstest in F5 scenarios * Make dotnet test without framework switch work * Code cleanup * Only run code coverage conditionally * Fix F5 condition for netcoreapp * Downgrade sdk to check for helix submission failures * Fix wrong conditions * Add blame data collector
- Loading branch information
1 parent
a1af15d
commit 200b197
Showing
28 changed files
with
254 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RunSettings> | ||
<RunConfiguration> | ||
<!-- Timeout in ms, 5 minutes --> | ||
<TestSessionTimeout>300000</TestSessionTimeout> | ||
<!-- Directory for test run reports. E.g. trx, coverage etc. --> | ||
<ResultsDirectory>.\</ResultsDirectory> | ||
<!-- Working directory for test invocation. Results directory can be relative to this. Used by IDEs. --> | ||
<SolutionDirectory>.\</SolutionDirectory> | ||
<!-- Degree of parallelization, spawns n test hosts to run tests. --> | ||
<MaxCpuCount>$$MAXCPUCOUNT$$</MaxCpuCount> | ||
<!-- Configures the architecture of test host. --> | ||
<TargetPlatform>$$TARGETPLATFORM$$</TargetPlatform> | ||
<!-- If true, an adapter should disable any test case parallelization. --> | ||
<DisableParallelization>$$DISABLEPARALLELIZATION$$</DisableParallelization> | ||
<!-- If true, an adapter shouldn't create appdomains to run tests. --> | ||
<DisableAppDomain>$$DISABLEAPPDOMAIN$$</DisableAppDomain> | ||
<!-- Filter out failing (wrong framwork, platform, runtime or activeissue) tests --> | ||
<TestCaseFilter>$$TESTCASEFILTER$$</TestCaseFilter> | ||
<DotNetHostPath>$$DOTNETHOSTPATH$$</DotNetHostPath> | ||
<EnvironmentVariables> | ||
<!-- Use our self-built framework on .NET Framework --> | ||
<DEVPATH>$$DEVPATH$$</DEVPATH> | ||
</EnvironmentVariables> | ||
</RunConfiguration> | ||
<LoggerRunSettings> | ||
<Loggers> | ||
<Logger uri="logger://Microsoft/TestPlatform/TrxLogger/v1"> | ||
<Configuration> | ||
<LogFileName>testResults.trx</LogFileName> | ||
</Configuration> | ||
</Logger> | ||
<Logger uri="logger://Microsoft/TestPlatform/HtmlLogger/v1"> | ||
<Configuration> | ||
<LogFileName>testResults.html</LogFileName> | ||
</Configuration> | ||
</Logger> | ||
<Logger friendlyName="console"> | ||
<Configuration> | ||
<Verbosity>Minimal</Verbosity> | ||
</Configuration> | ||
</Logger> | ||
</Loggers> | ||
</LoggerRunSettings> | ||
<DataCollectionRunSettings> | ||
<DataCollectors> | ||
<DataCollector friendlyName="XPlat code coverage" enabled="$$COVERAGE_ENABLED$$"> | ||
<Configuration> | ||
<Include>$$COVERAGE_INCLUDE$$</Include> | ||
<ExcludeByFile>$$COVERAGE_EXCLUDEBYFILE$$</ExcludeByFile> | ||
<IncludeDirectory>$$COVERAGE_INCLUDEDIRECTORY$$</IncludeDirectory> | ||
<Format>opencover</Format> | ||
<SingleHit>false</SingleHit> | ||
<UseSourceLink>true</UseSourceLink> | ||
<IncludeTestAssembly>false</IncludeTestAssembly> | ||
</Configuration> | ||
</DataCollector> | ||
<DataCollector friendlyName="blame" enabled="true"> | ||
<Configuration> | ||
<CollectDump CollectAlways="false" DumpType="mini" /> | ||
</Configuration> | ||
</DataCollector> | ||
</DataCollectors> | ||
</DataCollectionRunSettings> | ||
</RunSettings> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.