Commit graph

1514 commits

Author SHA1 Message Date
Pavel Krymets
62284943fc Add support for reading DepedencyContext from deps file 2016-02-23 18:16:40 -08:00
Livar
7407a898e0 Merge pull request #1516 from livarcocc/debug_tests
Modifying dotnet test to handle the new design for debug and making it unit testable
2016-02-23 17:33:36 -08:00
David Fowler
211f0e7af3 Merge pull request #1533 from dotnet/davidfowl/newer-nuget
Updated NuGet package reference
2016-02-23 13:41:49 -08:00
Livar Cunha
7630337074 Adding unit tests for the state machine of dotnet test. Starting the implementation of a state machine in dotnet test. Right now we only handle the TestSession:Terminate message.
Adding a message handler for the version check message. Also introduced an IDotnetTest that handles state and handlers (the state machine).

Adding the test discover start message handler and introducing a test runner.

Added the handler for the GetTestRunnerProcessInfo message. Also, modified dotnet test to have separate setter for the special message handlers for terminate and unknown messages and added a separate method to add new reporting channels to DotnetTest, so that it can handle the new listener for the test runner.

Added the test runner test discovery handlers.

Added handlers to deal with the test execution itself.

Updated dotnet-test program to use the message handlers during design time.

Added a test for the whole discover tests message flow.

Added a test for the run tests full message exchange.
2016-02-23 11:20:04 -08:00
David Fowler
a049eee253 Updated NuGet pacakge reference 2016-02-23 10:32:15 -08:00
Sridhar Periyasamy
2aedd677c6 Merge pull request #1522 from Sridhar-MS/wix-upgrade
Upgrade Wix to stable version 3.10.2.
2016-02-23 10:04:48 -08:00
Pavel Krymets
f45f08c4da Merge pull request #1468 from dotnet/pakrym/assets
Asset refactoring and content files
2016-02-23 09:18:47 -08:00
Pavel Krymets
a71112ce8f Asset refactoring and content files 2016-02-23 08:34:38 -08:00
David Fowler
388bb7260c Merge pull request #1529 from dotnet/davidfowl/dont-mutate-targets
Fix asset copy on publish when lock file instance is shared
2016-02-23 03:06:25 -08:00
David Fowler
dec4a0627f Fix asset copy on publish when lock file instance is shared
- Don't mutate the library target when making a package description.

#1528
2016-02-23 02:34:56 -08:00
Pavel Krymets
f49fdd9197 Merge pull request #1501 from dotnet/pakrym/run-single-target
Fix run behaviour when only single target exists
2016-02-22 20:34:23 -08:00
Livar
06d31435cb Merge pull request #1523 from livarcocc/debug_tests_abstractions
Adding a TestRunner.TestCompleted message to the test sinks.
2016-02-22 19:45:03 -08:00
Pavel Krymets
fcc384b175 Merge pull request #1500 from dotnet/pakrym/no-runtime-error
Add error message when runtime target is not found
2016-02-22 16:13:11 -08:00
Sridhar Periyasamy
e9d2a37427 Download Wix tools v3.10.2
Security vulnerability with earlier Wix versions -
https://www.firegiant.com/blog/2016/1/20/wix-v3.10.2-released/
2016-02-22 15:24:34 -08:00
Pavel Krymets
6ca22e4a56 Fix run behaviour when only single target exists 2016-02-22 15:11:24 -08:00
Livar Cunha
33ba99bb51 Adding a TestRunner.TestCompleted message that the runner can send to dotnet test. 2016-02-22 13:40:45 -08:00
Sridhar Periyasamy
8179958342 Upgrade Wix to stable version 3.10.1.
Get rid of dummy project and instead download Wix tools directly.
2016-02-22 11:57:43 -08:00
Eric Erhardt
962411969e Merge pull request #1499 from eerhardt/WinDockerInstall
Running Windows installer tests on Docker.
2016-02-22 09:30:21 -06:00
David Fowler
c7a9d1d63a Merge pull request #1511 from jpvantuyl/patch-1
fix up whitespace
2016-02-21 00:11:53 -08:00
Pavel Krymets
69c0375b3f Add error message when runtime target is not found 2016-02-20 18:20:16 -08:00
John Van Tuyl
9153b24e15 fix up whitespace 2016-02-20 13:53:36 -08:00
David Fowler
39b0880dbe Handle null commit sha
- Apparently the .version file doesn't always end up in the package
#1498
2016-02-19 20:01:14 -08:00
Bryan Thornbury
be8cde81b2 Merge pull request #1484 from dotnet/brthor/debian-e2e
Enable EndToEnd tests against the debian package
2016-02-19 14:58:37 -08:00
Eric Erhardt
d9adc9214a Running Windows installer tests on Docker.
Cleaning up the Installer tests
- rename project to conform to the rest of the tests
- convert to .xproj
- clean up unused usings
2016-02-19 16:45:37 -06:00
Sridhar Periyasamy
856a077bd1 Merge pull request #1487 from Sridhar-MS/cli-x86
Fixes in corehost for building x86 arch.
2016-02-19 12:06:50 -08:00
Sridhar Periyasamy
c8215f84d3 Use macros for __stdcall calling convention. 2016-02-19 11:30:03 -08:00
Piotr Puszkiewicz
e88927486a Merge pull request #1478 from dotnet/piotrpMSFT/--DOTNET_HOME
Removes usage of DOTNET_HOME in CLI repo.
2016-02-18 22:43:28 -08:00
Sridhar Periyasamy
f96ac6ed92 Fixes in corehost for building x86 arch.
Set the calling convention to '__stdcall' explicitly else the default is
'_cdecl' on windows which mismatches with coreclr hosting APIs.
Use the newly built 'corehost' in stage1.
2016-02-18 18:03:26 -08:00
Bryan Thornbury
5b211726d8 Enable EndToEnd tests in the debian package
do a build and drop xml files
2016-02-18 16:57:24 -08:00
Piotr Puszkiewicz
7a9a501def PR feedback 2016-02-18 15:38:23 -08:00
Piotr Puszkiewicz
e625cbcf7a Removes usage of DOTNET_HOME in CLI repo.
DOTNET_HOME is no longer required, though it is a documented override, so this change removes all unnecessary references to DOTNET_HOME from the CLI Repo.
2016-02-18 15:38:23 -08:00
Zlatko Knezevic
f81ba05a7c Merge pull request #1397 from revlucio/rel/1.0.0
Fixed spelling mistakes in documentation
2016-02-18 14:17:40 -08:00
Eric Erhardt
84b6520e39 Merge pull request #1461 from eerhardt/TestNuGetConfig
Remove NuGet.Config files for test projects.
2016-02-18 14:27:39 -06:00
Eric Erhardt
aca2c8c8dd Moving the TEST_ARTIFACTS environment variable to the new C# build scripts. 2016-02-18 13:35:01 -06:00
Bryan Thornbury
8d939fc7e1 Merge pull request #1477 from dotnet/brthor/deps-space-fix
fix dotnet-compile.deps.json space in the path issue.
2016-02-18 11:24:40 -08:00
Zlatko Knezevic
b2dc8d3bd6 Merge pull request #1469 from dotnet/blackdwarf-patch-1
Update version_badge.svg
2016-02-18 11:20:53 -08:00
Eric Erhardt
3da5ae70e2 Remove NuGet.Config files for test projects.
Fix #1316
2016-02-18 13:03:28 -06:00
Bryan Thornbury
a9e1b2488d Merge pull request #1270 from dotnet/brthor/1268/configuration
Fix "unable to locate deps file" for dotnet-test on release configuration
2016-02-18 10:56:53 -08:00
Bryan
dd103cf6a8 fix dotnet-compile.deps.json space in the path issue.
add test for space in the path with Preserve Compilation Context

fix project.json

update tests

update test
2016-02-18 10:51:50 -08:00
Bryan Thornbury
c749bae962 Pipe configuration through CommandResolver
script changes to pipe configuration to test.ps1

debug commit, remove this commit

Change dotnet-test to invoke dotnet-test-xunit directly

build tests with configuration, framework, runtime in windows

Update testtargets in new build scripts

make configuration first arg to dotnet test

PR Feedback

update command factory

fix interface

test update
2016-02-18 09:57:30 -08:00
Pavel Krymets
c65a1700eb Merge pull request #1449 from dotnet/pakrym/runtime-assets
Fix publish runtime asseets
2016-02-18 08:07:37 -08:00
Eric Erhardt
e0f6582070 Merge pull request #1460 from eerhardt/DeveloperGuide
Update developer-guide with the correct paths
2016-02-18 07:25:37 -06:00
David Fowler
8645031db8 Merge pull request #1471 from dotnet/davidfowl/fix-versions
Fixing versions
2016-02-18 02:42:31 -08:00
David Fowler
ed16632a33 Flow the version suffix via pack as well 2016-02-18 02:27:35 -08:00
Senthil
082eda3ce7 Merge pull request #1470 from dotnet/appdep
Update AppDep SDK version
2016-02-18 01:42:10 -08:00
Senthil
e1d8a0505c Update appdep 2016-02-18 01:22:54 -08:00
David Fowler
c941162b17 Fixed the test names 2016-02-18 01:12:24 -08:00
David Fowler
69b5e3f815 Fixing versions
- Added --version-suffix to build and publish
- Support reading DOTNET_* version variables everywhere versions can be read
- Show the commit sha in dotnet --version
- Added tests that check the assembly output version
- Set DOTNET_BUILD_VERSION when producing the CLI app itself so that it has the version information stamped in for help.
2016-02-18 01:10:07 -08:00
Piotr Puszkiewicz
02e39cf81d bust cache 2016-02-18 00:47:00 -08:00
Zlatko Knezevic
dde29a2b4b Update version_badge.svg
Remove the gradient from the version badge template to be more like VSTS badges. Also remove the corner radius to get a full rectangle.
2016-02-17 23:54:07 -08:00