William Godbe
609cdbe94e
Revert "Revert "Remove ref project from Microsoft.AspNetCore.Testing ( #2817 )" ( #2882 )" ( #2936 )
...
This reverts commit 1286a6ff55e300352dabeb6d778c9fcdd258bd08.
2020-02-13 15:49:45 -08:00
William Godbe
220bfec9d6
Revert "Remove ref project from Microsoft.AspNetCore.Testing ( #2817 )" ( #2882 )
...
This reverts commit b624d6ba91b9c292ff9a2aa786a575b0eaa31b4b.
2020-01-17 19:24:54 -08:00
John Luo
e78f5966c7
Remove ref project from Microsoft.AspNetCore.Testing ( #2817 )
2020-01-15 16:36:56 -08:00
dotnet-maestro-bot
e775cde6dd
[automated] Merge branch 'release/3.0' => 'release/3.1' ( #2748 )
...
* [release/3.0] Update dependencies from dotnet/core-setup (#2719 )
* Update dependencies from https://github.com/dotnet/core-setup build 20191126.03
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.2-servicing-19576-03
* Update dependencies from https://github.com/dotnet/core-setup build 20191126.05
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.2-servicing-19576-05
* Update dependencies from https://github.com/dotnet/core-setup build 20191126.08
- Microsoft.NETCore.App.Runtime.win-x64 - 3.0.2-servicing-19576-08
Dependency coherency updates
- Microsoft.NETCore.Platforms - 3.0.1-servicing.19576.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
* Update dependencies from https://github.com/dotnet/arcade build 20191127.5 (#2729 )
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19577.5
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19577.5
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19577.5
* Build implementation projects against ref assemblies
* Add explicit references in tests, where needed
2019-12-04 17:07:43 -08:00
Doug Bunting
a9d62e7f8c
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
2019-10-12 21:57:07 -07:00
Ryan Nowak
0e7ff1e6ec
Refactor xUnit extensibility
...
Adds our own hook for before/after logic that's more usable, called
`ITestMethodLifecycle`. This provides access to a context object
including the information about the test and the output helper. This can
be implemented by attributes or by the class itself.
The goal (and result) of this, is that we have a single *test executor*
extensibility point that provides all of the features we need. We should
use this everywhere we need features xUnit doesn't have.
Adding a new extensibility point (`ITestMethodLifecycle`) allows us to
do this without turning all of these features into a giant monolith.
---
Also updated our existing extensibility to use this new hook.
I did as much cleanup as a could to remove duplication from logging and
keep it loosly coupled. I didn't want to tease this apart completely
because the scope of this PR is already pretty large.
2019-09-23 07:37:33 -07:00
John Luo
31b0a53a9f
Support netcoreapp3.1 TFM ( #2336 )
...
* Support netcoreapp3.1 TFM
* Unpin SDK for source build
* Update to preview1 branding
2019-09-12 22:34:52 -07:00
Justin Kotalik
9898a0eb71
Cleanup to skip/flaky attributes ( #2186 )
2019-08-15 09:12:53 -07:00
Ryan Brandenburg
6ef6930b1b
PR feedback
2019-07-08 14:37:20 -07:00
Ryan Brandenburg
0ef640d043
More doc comments
2019-07-08 14:37:20 -07:00
Ryan Brandenburg
8bce347b3b
Add some missing doc comments
2019-07-08 14:37:20 -07:00
Nate McMaster
92ead8b790
Disable transitive project references in test projects ( #1834 )
2019-06-13 16:27:19 -07:00
Nate McMaster
ab1dbe1105
Use even more Arcade and other csproj cleanups ( #1833 )
...
* Use Arcade's convention for setting IsPackable (must be explicitly set)
* Use Arcade conventions for using DebugType and eng/Versions.props
* Remove dead code
* Update restore feeds in daily builds.md
* Disable UsingToolNetFrameworkReferenceAssemblies in analyzer tests
* Remove usage of TestGroupName (an obsolete KoreBuild setting)
* Use IVT as a .csproj attribute
2019-06-12 22:39:41 -07:00
Nate McMaster
56fe4e0f03
Add support for source-build ( #1740 )
2019-05-23 16:33:55 -07:00
Justin Kotalik
1bc41e0961
Add Repeat attribute ( #1375 )
2019-04-09 14:03:12 -07:00
Andrew Stanton-Nurse
52be71db2b
add FlakyAttribute to mark flaky tests ( #1222 )
...
part of aspnet/AspNetCore#8237
2019-03-06 15:19:11 -08:00
Pavel Krymets
e9fd9d7ab3
Add xml docs to targeting pack ( #1149 )
2019-02-22 12:35:31 -08:00
Pavel Krymets
75672fe22e
Manualy update tooling dependencies to normalize names ( #1135 )
...
* Manualy update tooling dependencies to normalize names
* Nullable
2019-02-19 17:25:53 -08:00
Chris Ross
75def8fa2b
Deprecate and replace IHostingEnvronment & IApplicationLifetime ( #1100 )
...
* Deprecate and replace IHostingEnvronment & IApplicationLifetime #966
* Fix startvs
* Fix ref generation for obosolete
2019-02-15 13:40:33 -08:00
Pavel Krymets
8dc935ceee
Add reference assembly generations support ( #1093 )
2019-02-11 12:10:15 -08:00
Nate McMaster
fca5c9cee8
Remove implicit references for non-test projects ( #1037 )
2019-01-31 13:20:34 -08:00
Pavel Krymets
478a18fb73
Make sure AzureAppServices logger is resolvable from DI contatiner ( #1039 )
2019-01-31 12:37:12 -08:00
Nate McMaster
6d452e9b05
Cleanup conversion to Arcade ( #1014 )
...
* Remove obsolete targets, properties, and scripts
* Replace IsProductComponent with IsShipping
* Undo bad merge to version.props
* Update documentation, and put workarounds into a common file
* Replace usages of RepositoryRoot with RepoRoot
* Remove API baselines
* Remove unnecessary restore feeds and split workarounds into two files
* Enable PR checks on all branches, and disable autocancel
2019-01-29 18:34:54 -08:00
Ryan Brandenburg
c4c2df54eb
Use Arcade ( #586 )
...
Use arcade
2019-01-29 13:26:53 -08:00
Doug Bunting
aef59fdb77
Merge branch 'release/2.2' into 'master'
2019-01-15 12:30:28 -08:00
Pavel Krymets
7940062040
[2.2.x] Port Drop messages in azure loggers if queue is full ( #592 )
2019-01-15 09:04:57 -08:00
Nate McMaster
c24730c51e
Merge branch 'release/2.2'
2019-01-07 16:23:11 -08:00
Nate McMaster
c94d063eb8
Merge branch 'release/2.1' into release/2.2
2019-01-07 15:58:24 -08:00
Nate McMaster
88865365b3
Remove netcoreapp2.0 test TFMs ( #907 )
...
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-07 15:52:44 -08:00
John Luo
2283bd63f5
Add attribute to allow LoggedTest to collect dump on failure ( #905 )
...
* Add attribute for collecting dumps for failed LoggedTest
2019-01-07 13:42:22 -05:00
Andrew Lock
e21dc21b40
Use Task.Run instead of Task.Factory.StartNew ( #611 )
...
Addresses #571
Using `TaskCreationOptions.LongRunning` creates a dedicated thread, but
it's released on the first await. Using Task.Run uses the thread pool
instead
2019-01-02 09:12:26 -08:00
Pavel Krymets
22097c6c35
Capture LoggedTest.Initialize exception and re-trow in Dispose ( #770 )
2018-12-17 09:18:26 -08:00
Pavel Krymets
a0a95ad1ea
Merge branch 'release/2.2'
2018-12-12 10:40:41 -08:00
Pavel Krymets
38a1bf6285
Merge branch 'merge/release/2.1-to-release/2.2' of github.com:dotnet-maestro-bot/Common into merge/release/2.1-to-release/2.2
2018-12-12 09:27:33 -08:00
Pavel Krymets
7d2b7a5fb8
Remove internal types from Logging and Abstractions ( #513 )
2018-11-16 08:33:57 -08:00
Pavel Krymets
8a586ceb57
Remove obsolete types from Azure logging ( #498 )
2018-11-14 12:46:22 -08:00
Pavel Krymets
ef4b214125
Drop messages in azure loggers if queue is full ( #494 )
2018-11-14 09:59:30 -08:00
Nate McMaster
fc4e64de38
Reorganize source code in preparation to move into aspnet/Extensions
...
Prior to reorganization, this source code was found in f7d8e4e053
2018-11-06 17:12:46 -08:00
Nate McMaster
08375cd15c
Reorganize source code in preparation to move into aspnet/Extensions
...
Prior to reorganization, this source code was found in 5381f42ded
2018-11-06 16:14:26 -08:00
Nate McMaster
018907bec0
Reorganize source code in preparation to move into aspnet/Extensions
...
Prior to reorganization, this source code was found in 8270c54522
2018-11-06 14:13:18 -08:00