Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Live Unit Testing in VS 2017
jschreuder
#1 Posted : Wednesday, November 16, 2016 10:54:52 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/5/2015(UTC)
Posts: 42
Location: Australia

Thanks: 14 times
Was thanked: 23 time(s) in 11 post(s)
How do you feel about the new feature Remco? Seems to be very NCrunch-like.

https://www.visualstudio...ing-a-live-unit-testing

Quote:
New in RC Live Unit Testing is a new feature we are introducing and only present in the Enterprise edition of Visual Studio. This feature visualizes unit test results and code coverage live on the editor, while you are coding. It works with C#/VB projects for .NET framework and supports three test frameworks of MSTest, xUnit, and NUnit. This is an early preview of this feature and has several known issues.


I haven't had a chance to test it out yet.
Remco
#2 Posted : Wednesday, November 16, 2016 11:11:06 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
My twitter feed was alive with this when I woke up today. I haven't given it a spin yet ... but a few interesting facts:

- It will only be available for VS Enterprise (not VS Pro or lower tier SKUs)

- It's still early days. This product has so far only seen a few months of development (vs NCrunch at 7 years and counting)

- It's internal architecture is very different to NCrunch. For example, there is no workspacing of source code. I expect the experience when using it may be quite different.

- Many people aren't aware that free versions of NCrunch-like tools have been available for .NET since 2010. In a business sense and from my side of things, this doesn't really change things much.

- There has been no shortage of interest in NCrunch over the years. The product has a sizable following of very enthusiastic developers. Even if Microsoft's new feature brings down the sky, NCrunch will still be around.


It's great to see continuous testing finally getting the attention it deserves. Microsoft building this into their base platform certainly underlines the value of this concept. Hopefully we'll finally see others also implement it on other platforms.
jschreuder
#3 Posted : Wednesday, November 16, 2016 11:21:58 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/5/2015(UTC)
Posts: 42
Location: Australia

Thanks: 14 times
Was thanked: 23 time(s) in 11 post(s)
Great, doesn't seem like you're jumping ship on NCrunch development :)

NCrunch clearly has a tonne more functionality that the VS feature won't have for a long time / ever. Stuff like distributed processing. And as you said, it being an Enterprise only feature limits its usage numbers A LOT. With that said, CodeLens started out as an Enterprise feature IIRC and ended up being made available in a lower tier, so who knows.

Anyway, thanks for replying!
1 user thanked jschreuder for this useful post.
JVaughan on 11/20/2016(UTC)
DeltaEngine
#4 Posted : Thursday, November 17, 2016 10:58:33 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/23/2012(UTC)
Posts: 31
Location: Germany

Thanks: 8 times
Was thanked: 3 time(s) in 3 post(s)
Seems to be very limited and while a nice addition to have out of the box in a future VS release, currently not usable in production, at least for me (attributes, categories, appdomains, etc.). As Remco said it will take years until all the issues and special cases are solved and who knows if Microsoft is even supporting this a year from now.

Let's get to the real question: When will NCrunch be available for VS 2017? That would make VS 2017 usable for TDD and enjoyable :)
Remco
#5 Posted : Thursday, November 17, 2016 11:15:34 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
DeltaEngine;9396 wrote:

Let's get to the real question: When will NCrunch be available for VS 2017? That would make VS 2017 usable for TDD and enjoyable :)


Very soon :) I'm hoping to roll out VS2017 support with the v3 release expected before the end of this month.
2 users thanked Remco for this useful post.
DeltaEngine on 11/17/2016(UTC), danius on 11/20/2016(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.043 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download