@@ -16,18 +16,27 @@ Please see the [known contributor issues](https://github.com/dotnet/roslyn/label
2. Clone https://github.com/dotnet/roslyn
3. Run: `nuget.exe restore Roslyn.sln`
4. Due to [Issue #5876](https://github.com/dotnet/roslyn/issues/5876), you should build on the command line before opening in Visual Studio. Run: `msbuild /v:m /m Roslyn.sln`
5. Open Roslyn.sln
5. Open _Roslyn.sln_
## Running Unit Tests
To run the unit tests:
##
> msbuild /v:m /m BuildAndTest.proj
## Running Tests
Tests cannot be run via Test Explorer due to some Visual Studio limitations.
This command will build and run all of the code / tests which are supported on the current public build of Visual Studio 2015.
__To run tests:__
To debug suites use the *xunit.console.x86.exe* runner command which is included in the [xunit.runner.console](https://www.nuget.org/packages/xunit.runner.console) NuGet package. Make sure to use version 2.1 of the runner.
From a Visual Studio Command Prompt:
> xunit.console.x86.exe [UnitTestDll] -noshadow
```
msbuild /v:m /m BuildAndTest.proj
```
This will build and run all tests which are supported on Visual Studio 2015.
__To debug tests:__
1. Right-click on the test project you want to debug and choose __Set as Start Project__
2. Press _F5_ to start debugging
Alternatively, some members of the team have been working on a WPF runner that allows selection of individual tests, etc. Grab the source from [xunit.runner.wpf](https://github.com/pilchie/xunit.runner.wpf), build it and give it a try.