You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .net core, the dependencies are resolved from deps.json. The adapter must be referenced from a test project such that the MSTest.TestAdapter.dll is located by the test platform.
Currently, the nuget package ships with props files which copy the test adapter to output directories. It is not supported in .net core (see #6). What is the way forward?
Ship different nuget package for each runtime
Ship single nuget package, let the adapter be resolved from the corresponding runtime directory e.g. netcoreapp1.0 for .net core.
We planned to go with option 2 - Ship a single nuget package with a netcoreapp1.0 folder. We did not want to have multiple adapters for each platform. One drawback however with this approach is that the test platform attempts to load adapters for all desktop and dotnet even though it can load only one based on the host. The desktop workflow is still the same. We only have a lib for netcoreapp1.0.
The adapter having this fix is MSTest.TestAdapter 1.1.2.
Activity
codito commentedon Sep 14, 2016
Abhitej John (@AbhitejJohn) Jayarani garg (@jayaranigarg) Harsh Jain (@harshjain2) what do you think?
AbhitejJohn commentedon Sep 28, 2016
We planned to go with option 2 - Ship a single nuget package with a netcoreapp1.0 folder. We did not want to have multiple adapters for each platform. One drawback however with this approach is that the test platform attempts to load adapters for all desktop and dotnet even though it can load only one based on the host. The desktop workflow is still the same. We only have a lib for netcoreapp1.0.
The adapter having this fix is MSTest.TestAdapter 1.1.2.
Add netci.groovy for CI jobs. (microsoft#10)
Address review feedback on RFC 011
Clarify GetThresholdSeconds option re-read is intentional (Amaury rev…