Live Unit Testing in Visual Studio 2017

Sign in to queue

The Discussion

  • User profile image
    Sarin Na Wangkanai

    Live Unit Testing started.
    [16:26:05.131 Info] Live Unit Testing does not yet support .NET Core (required by project 'D:\Sources\RiverSync\Backoffice\Sales\Sales\Sales.csproj'). To suppress this message, add '<BuildForLiveUnitTesting>false</BuildForLiveUnitTesting>' to the project.
    [16:26:05.132 Info] Live Unit Testing does not yet support .NET Core (required by project 'D:\Sources\RiverSync\Backoffice\Sales\Sales.Domain\Sales.Domain.csproj'). To suppress this message, add '<BuildForLiveUnitTesting>false</BuildForLiveUnitTesting>' to the project.
    [16:26:05.132 Info] Live Unit Testing does not yet support .NET Core (required by project 'D:\Sources\RiverSync\Backoffice\Sales\Sales.Domain.Tests\Sales.Domain.Tests.csproj'). To suppress this message, add '<BuildForLiveUnitTesting>false</BuildForLiveUnitTesting>' to the project.
    [16:26:05.132 Info] Build completed (succeeded).

  • User profile image
    Murat

    visual studio 2017,isn't good for anything. Too big to install local computer, cloud is terrible
    I don't think any enterprises application can be implement at the cloud. Visual studio 2013 or 15 still useful and come with Xamarin. I wouldn't change till next version.Microsoft greedy,and started to act like big old company like Sears

  • User profile image
    jaliyaudage​dara

    @Sarin Na Wangkanai: With .NET Core 2.0 Preview 1 and Visual Studio 2017 Preview 15.3, you can do live unit testing.

  • User profile image
    stuart smith

    This is a great feature along with the code coverage tools of visual studio. I would like to enforce rules where all code meets 80% code coverage. The problem I have is this feature is only available in enterprise visual studio. Not every developer in my organization is an architect and should require enterprise visual studio. So with visual studio I am unable to reach my goal so instead I must

  • User profile image
    RodAtWork

    I think this feature of Live Unit Testing looks exciting. However, I've got one important question about the LUT. It is the habit of my colleagues to not write strictly speaking unit tests, but rather they'll write integration tests and use the MS Test for testing it. For example, rather than mock data for a test, they'd rather just open a connection to the database in the "unit test", read in the data and test the code that way. I can only imagine that LUT would cause a lot of network traffic. Under such circumstances would it be a bad idea to use LUT?

  • User profile image
    meshedup

    Cool! This provides instant unit test feedback while make source code changes. As Joe mentioned in the video, especially useful when editing code that you are unfamiliar with.

Add Your 2 Cents