Eric Erhardt
eccf44c200
Add initial update-dependencies script.
...
This script can be used to automatically update dotnet/cli's
dependencies on other repos like CoreFX, NuGet, etc.
Currently the script supports updating the CoreFX dependencies.
2016-03-17 08:14:09 -05:00
Livar Cunha
8d39adbdbf
Modifying the reporting channels to make the AdapterChannel a client and leave the TestRunnerChannel a server. This will prevent port conflicts between dotnet test and the Adapter (VS) due to race conditions.
...
Added E2E tests for dotnet test interactions with an adapter (design time).
2016-03-15 15:13:54 -07:00
MichaelSimons
0149f0bc72
General cleanup of the solution. Removed non-existant projects, fixed paths, removed invalid projects, etc.
2016-02-24 09:02:42 -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
Pavel Krymets
a71112ce8f
Asset refactoring and content files
2016-02-23 08:34:38 -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
Troy Dai
c2e5b0f24d
Add a ProjectModel test
2016-02-17 16:29:28 -08:00
Piotr Puszkiewicz
d9b54cecac
Merge branch 'PackagedCommands' of https://github.com/eerhardt/cli into eerhardt-PackagedCommands
2016-02-16 21:20:57 -08:00
Pavel Krymets
39e1e26f0e
Refactor DependencyModel, make it ready for tests
2016-02-16 09:56:19 -08:00
Andrew Stanton-Nurse
d524732bbb
working on build scripts
2016-02-12 15:26:35 -08:00
Livar Cunha
4e1ec4c159
Refactoring dotnet-compile to make adding the script variable testable. So far, moved it to have a compiler controller and two separate compilers: native and managed. Also moved the script runner to its own class so that we can mock it into the managed controller.
...
Adding a ICommand interface and factory that we can use to mock Commands and avoid actually running them in unit tests.
2016-02-11 12:42:02 -08:00
Eric Erhardt
5d04ca1fe3
Move PackagedCommands to TestAssets.
...
Convert package-command-test.ps1 to an XUnit test.
2016-02-10 15:05:25 -06:00
Eric Erhardt
490f4af0d4
Refactoring test directories.
...
- Rename Compiler.Common.Tests to Microsoft.DotNet.Compiler.Common.Tests.
- Create the Microsoft.DotNet.Cli.Utils.Tests and move StreamForwarderTests to it.
- ArgumentForwardingTests will be moved here in the future
- Remove LoadContextTest, since it is old and no longer relevant.
Partial #1250
2016-02-09 18:26:53 -06:00
Eric Erhardt
784f5679bf
Rename E2E test to EndToEnd.
2016-02-09 15:12:25 -06:00
Eric Erhardt
3d14caceff
Test directory refactoring step 1.
...
Moving TestProjects and TestPackages under root 'TestAssets' folder.
Partial fix #1250
2016-02-08 20:35:22 -06:00
Eric Erhardt
7a6ba86a74
Remove nonexistent project file from our solution
2016-02-05 16:43:18 -06:00
Livar Cunha
fd604355fe
Introducing a new library to hold file system related abstractions. Making the E2E tests work with dotnet test
2016-02-03 17:07:40 -08:00
David Fowler
ec10a1d6be
Upgrade stdlib and enable crossgen
2016-02-01 20:48:34 -08:00
Andrew Stanton-Nurse
91c695458a
add source file to library publish test project
2016-01-29 12:31:23 -08:00
piotrp
63d79b06b4
projectmodelserver
2016-01-28 10:53:31 -08:00
piotrp
5e72c88104
Rename test projects
2016-01-28 10:53:30 -08:00
piotrp
47db1b91e2
Tools Projects rename
2016-01-28 10:53:29 -08:00
Mihai Codoban
3a8ef0f5e9
Add Tests for incrementality
2016-01-20 16:07:12 -08:00
Andrew Stanton-Nurse
3d493f7d9d
switch from DNX to cross-plat NuGet!
2016-01-19 11:43:09 -08:00
Andrew Stanton-Nurse
78cef18e1c
add support for generating xml documentation
...
fixes #312
2016-01-08 14:02:41 -08:00
Andrew Stanton-Nurse
f4df12f2e2
add proper RID detection based on PlatformAbstractions
2016-01-08 10:07:58 -08:00
piotrp
08dd628172
create dotnet-restore.exe
2016-01-06 01:46:10 -08:00
Piotr Puszkiewicz
d1a257bff7
Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
...
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
935cd4e281
Add ProjectModel server
2015-12-25 13:23:29 -08:00
Enrico Sada
d52bc92155
add command dotnet-compile-fsc
...
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc
Extract build from compile
...
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Pavel Krymets
f05b208ad7
Add dependency model api
2015-12-18 12:09:39 -08:00
Bryan
6ff7404a48
Multi Project Validator
...
A tool which searches recursively for project.json files,
runs a set of analyses and reports on the result.
For CLI we have only one rule currently, that Dependencies
between projects must be equivalent to avoid stomping.
2015-12-11 14:24:05 -08:00
Andrew Stanton-Nurse
f089fff7fa
fix solution after init->new rename
2015-12-09 10:08:04 -08:00
Andrew Stanton-Nurse
4e6244d8a8
add ProjectAssemblyLoadContext
...
allows the loading of assemblies in the context of an existing project
2015-12-08 11:30:25 -08:00
Andrew Stanton-Nurse
2d047428af
remove c++ projects from sln
2015-12-01 11:42:02 -08:00
piotrp
407c933480
add dotnet-test
2015-11-30 17:28:03 -08:00
Krzysztof Wicher
0ecbc0d5fc
Convert dotnet-run to System.CommandLine
2015-11-20 20:33:32 -08:00
Andrew Stanton-Nurse
5d195c8eea
fix sln again
2015-11-18 14:23:12 -08:00
piotrp
42e557408a
Adding to sln
2015-11-17 23:01:48 -08:00
Krzysztof Wicher
b566be5de8
Add dotnet-init
2015-11-17 11:46:46 -08:00
Charles Stoner
73ae3e8afb
Rename 'dotnet interactive' to 'dotnet repl'
2015-11-06 19:07:38 -08:00
Charles Stoner
e2cdf17e2e
Add Microsoft.DotNet.Tools.Interactive
2015-11-05 08:54:20 -08:00
Andy Gocke
a60a030bca
Fixup merge
2015-11-03 15:36:06 -08:00
Andy Gocke
e338f0415c
Update everything to 23502 and add Tools.Run to sln
2015-11-02 21:47:18 -08:00
Andrew Stanton-Nurse
e70a169b28
Add a shared runtime aware host
...
And use it in dotnet-compile
2015-10-30 15:03:29 -07:00
David Fowler
2a37430053
Updated the solution and project file
2015-10-29 00:21:35 -07:00
David Fowler
fc64db1f73
Support resx file embedding
...
- Added resgen tool and takes .resx and makes .resources
- Write .resources and .rsp to obj folder
2015-10-18 21:07:48 -07:00
David Fowler
cce7949a5a
Changes to dotnet-compile
...
- Split dotnet-compile into dotnet-compile and
dotnet-compile-{compiler}
- We still need to figure out the protocol and responsibility
but this change adds the needed indirection so that compilers can do
their thing.
- Updated the bootstrap script and kept the commands since we need
them to bootstrap the world until we get updates.
#52
2015-10-18 01:17:13 -07:00
Andrew Stanton-Nurse
cbb8414b16
fix sln paths
2015-10-15 15:45:58 -07:00
Andrew Stanton-Nurse
40eba07f28
add some bootstrap scripting
2015-10-15 12:18:45 -07:00
Andrew Stanton-Nurse
9da2475e2f
port DNX's ApplicationHostContext as ProjectContext
2015-10-14 15:37:39 -07:00
Andrew Stanton-Nurse
6395ffbff5
code review feedback and clean-up
2015-10-07 14:39:36 -07:00
David Fowler
15ccc3781f
Initial commit
2015-10-03 11:34:08 -07:00