Commit graph

172 commits

Author SHA1 Message Date
Eric Erhardt
eed29be806 Add dotnet publish3 command. 2016-09-23 12:12:55 -05:00
Eric Erhardt
5bd310bbd5 Add dotnet msbuild tests. 2016-09-22 15:56:36 -05:00
Faizan2304
0ce597a147 Implemented vstest verb which will run the test from given container. (#4115)
* Implemented vstest verb which will run the test from given container.

* Fixed Nitpick.

* 1) Addressed PR comment
2) Added tests for vstest verb

* Using specific version of Microsoft.TestPlatform.

* Address PR comments.

Modified help text for the vstest command.
Removed unused function.

* Fixed package related issue.
--Taking reference of microsoft.testplatform.cli nuget package which has contentFolder in it so that sub folder of this nuget can also be added in cli package.
-- Removing vstest.console, vshost and datacollector from Bundletools as we dont want *.deps.json to be override

* Nitpick

* Making vstest.console arguments compatible for non windows platform

* Fix tests to run on linux machine

* Updated the microsoft.testplatform.cli nuget package version. This version has fix related to non windows machine.

* changed dapter path from bin/debug to bin/Debug

* updated nuget version of package Microsoft.TestPlatform.CLI.

* Revert "updated nuget version of package Microsoft.TestPlatform.CLI."

This reverts commit bcc26c21d11c2bd2e5259a74f9890b0fd75962c7.

* Updated version of nuget package Microsoft.TestPlatform.CLI
Added Test project in solution file

* Addressed PR comment.

* Removed unnecessary --platform argument from test
2016-09-19 10:59:26 -07:00
Joel Verhagen
3619b7d767 Set the "hashPath" when building the .deps.json file
Update Microsoft.Extensions.DependencyModel to 1.0.1-beta-000933
Update Microsoft.DotNet.PlatformAbstraction to 1.0.1-beta-000933
Update NuGet to 3.6.0-beta.1.msbuild.4
Update dotnet-test-xunit to 1.0.0-rc2-350904-49
2016-09-02 10:02:54 -07:00
Bryan Thornbury
b0554d3ff3 PR Feedback 2016-08-30 12:00:56 -07:00
Livar Cunha
e8f2dabcdb Fixing broken tests after my changes to the CommandResolvers. 2016-08-25 22:53:04 -07:00
Livar Cunha
8e432e567a Adding TestRunner resolvers that will be able to find a test runner based on different criteria.
Moving dotnet test command to its own library that can be shared between dotnet test and the test target in the SDK folder.
2016-08-22 15:45:13 -07:00
Joel Verhagen
aacc30d5d8 Add "path" property the .deps.json file for libraries
Update DependencyModel and PlatformAbstractions packages to 1.0.1-beta-000917
Update dotnet-test-xunit to 1.0.0-rc2-330423-54
2016-08-18 15:57:03 -07:00
Livar Cunha
7b94fa7df2 Updating the xunit version to match the new version of dotnet-test-xunit. 2016-08-10 13:40:27 -07:00
Livar Cunha
dc7f1fdf84 Updating the xunit version to one that does not depend on internalabstractions. 2016-08-10 13:40:13 -07:00
Eric Erhardt
efc0efe4f9 Workaround native deps resolver not lower casing the file paths into the NuGet cache.
This is needed until https://github.com/dotnet/core-setup/pull/64 is merged.
2016-07-26 21:00:14 -05:00
Eric Erhardt
d54bba96cd Fix Microsoft.DotNet.Tools.Tests.Utillities.xproj name to match folder.
Also fixing GivenAProjectDependenciesCommandFactory test to expect a lower case path, since that is what the new NuGet does.
2016-07-26 20:53:19 -05:00
Eric Erhardt
72c59c4d05 Add test for MSBuild End to End. 2016-07-21 16:02:57 -05:00
Livar Cunha
105e5ab051 Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores. 2016-06-10 16:54:39 -07:00
Livar Cunha
461c26b78d Adding a create method to the sentinel and invoking it from the Primer when appropriate. 2016-06-10 16:54:09 -07:00
Livar Cunha
84f63029fe Almost all of the code to prime the NuGet cache from the archive.
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
Jonathan Miller
dc5fbc1a91 Adding basic cycle detection in the dependency walker 2016-06-07 13:21:13 -07:00
Todd Moscinski
d3b935489f Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable. 2016-06-06 11:00:47 -07:00
Todd Moscinski
391675c5b9 Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option. 2016-06-06 11:00:33 -07:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Sridhar Periyasamy
0c463c281f Remove '--infer-runtimes' option for 'dotnet restore' when restoring
TestAssets.
2016-05-23 17:04:32 -07:00
Sridhar Periyasamy
a2ef88cf86 Upgrade the "dotnet-test-xunit" version to "1.0.0-rc2-192208-24"
The earlier version "1.0.0-rc2-173361-36" is missing from the cli-deps feed.
2016-05-23 17:04:31 -07:00
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Bill Wert
ed3bd312cf Fix warnings in project.json
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Sridhar Periyasamy
5dc1a14e39 Upgrade the "dotnet-test-xunit" version to "1.0.0-rc2-192208-24"
The earlier version "1.0.0-rc2-173361-36" is missing from the cli-deps feed.
2016-05-18 20:47:53 -05:00
Pavel Krymets
b8dff69cc1 Revert "Revert "Add performance tests"" (#2820) 2016-05-12 10:33:32 -07:00
Eric Erhardt
8013398def Merge pull request #2980 from eerhardt/FixTestCommandErrors
dotnet test and publish failing badly when the project isn't restored.
2016-05-11 11:27:52 -05:00
Eric Erhardt
652d0541ef dotnet test and publish failing badly when the project isn't restored.
Fixing this by checking for diagnostic errors before continuing.

Fix #2692
Fix #2942
2016-05-11 10:43:58 -05:00
Sridhar Periyasamy
1b2b83b6db Upgrade the RC2 branding to RC3.
The following packages are changing:

Microsoft.NetCore.App: 1.0.0-rc2-3002702 -> 1.0.0-rc3-002702
Microsoft.NETCore.DotNetHost: 1.0.1-rc2-002702-00 -> 1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostPolicy: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostResolver: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00

Also publishing the *deb file to teh debian repo feed is disabled -
https://github.com/dotnet/cli/issues/2973
2016-05-10 13:36:20 -07:00
Bryan Thornbury
f538c4f19f Move to P2P references all over the place 2016-05-05 17:21:27 -07:00
Bryan
d1cd3703ac update rc2-preview1 to preview1 2016-05-05 11:05:58 -07:00
Piotr Puszkiewicz
c3fe0d062f Fix package versions 2016-05-05 11:05:55 -07:00
Piotr Puszkiewicz
69a32cc010 Merge pull request #2653 from dotnet/piotrpMSFT/issue2584/multicoreJIT
Piotrp msft/issue2584/multicore jit
2016-05-03 14:15:25 -07:00
Sridhar Periyasamy
25b1f627c2 Fix 32 bit crossgen tests. 2016-05-03 11:35:17 -07:00
Sridhar Periyasamy
b567bc82c3 Add crossgen tests
Simple tests which does static analysis of managed assemblies metadata to
make sure that they are crossgened. Currently it verifies that all the
assemblies in CLI SDK and SharedFx directroty are crossgened.
2016-05-03 11:35:16 -07:00
Piotr Puszkiewicz
94e620088e Test Infrastructure Updates
Creates a TestDirectory abstraction under TestInstance to manage creation of test-specific working directories
Enables TestAssetManager to create TestDirectory instances
Enables fluent addition of Environment Variables to TestCommand
Adds PathUtility support for ensuring a directory exists
2016-05-03 10:36:05 -07:00
Eric Erhardt
f2d917ed2e Execute 'csc' with working directory set to the project directory.
When using a ruleset with a relative path in buildOptions, csc can't
find the file because it is not working in the same directory as the
project.

Fix #2710
2016-05-01 22:46:03 -05:00
Pranav K
2ddd3ca9a0 Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
Pranav K
f8631fa4b7 Merge pull request #2747 from dotnet/prkrishn/remove-platformabstractions
Replaces references to Microsoft.Extensions.PlatformAbstractions
2016-04-29 17:54:22 -07:00
Piotr Puszkiewicz
ce3eed0306 Revert "Add performance tests" 2016-04-29 16:35:27 -07:00
Pranav K
1e753f7781 Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal 2016-04-29 16:06:23 -07:00
Pavel Krymets
dfa071de21 Merge pull request #2663 from dotnet/pakrym/perf-tests
Add performance tests
2016-04-29 11:18:50 -07:00
Andrew Stanton-Nurse
b98bc1289d abort build when an unresolved dependency is found (#2696) 2016-04-28 10:02:05 -07:00
Eric Erhardt
2ed81240fa dotnet build fails with xmlDoc = true and spaces in the path.
Need to quote the xmlDoc argument to the csc compiler.

Fix #2600
2016-04-27 15:43:12 -05:00
Pavel Krymets
cdb75966eb Remove test script 2016-04-27 08:41:22 -07:00
Pavel Krymets
366bad99ac Add performance tests 2016-04-27 08:41:22 -07:00
Eric Erhardt
5d2da26e74 Adding dotnet run tests for passing arguments to the app. 2016-04-26 19:58:41 -05:00
Brian Robbins
705a48940f Build-Time Hello World Performance Test (#2681)
Hello world build performance benchmark.
2016-04-26 17:52:34 -07:00
Piotr Puszkiewicz
7e0714d781 Merge pull request #2586 from Sridhar-MS/binding-redirects
Generate binding redirects for all executable package dependencies.
2016-04-25 17:04:19 -07:00
Andrew Stanton-Nurse
a729b97b35 align code in dotnet-run (#2679)
we used to use different code when --framework was specified than when it was not specified, this synchronizes them to use the same code path which removes a hidden NullRef

also adds tests to cover both cases
2016-04-25 13:53:02 -07:00