Free NCrunch alternative [closed]
Asked Answered
S

7

98

Since NCrunch has left the free market, I was looking for a similar tool for code coverage marking, and continous testing like NCrunch

edit: I'm using VS2012

update:

I've been using ContinuousTest for a while now, it's OK, but I think it lacks feedback when I write code. The feedback is good when I write tests, but when I break a test (while editing source code) it won't tell me that the test broke (in the margin, like it does for NCrunch). So if anyone knows other tools, I'm still listening.

Splutter answered 30/10, 2012 at 3:29 Comment(1)
JetBrains Resharper (commercial) seems to have continuous tests as well since 10.0 (or even earlier)Piccadilly
E
29

From what I've read, most people are in the same boat and are moving to ContinuousTests. I do not think there is a perfect replacement... yet.

Here is a decent comparison between NCrunch and ContinuousTests

Update

Upon recent usage of ContinuousTests with VS2012 I have decided to uninstall. There was too much friction to get it running. I believe it needs an update to support VS2012 properly.

Epidote answered 30/10, 2012 at 21:37 Comment(10)
What kind of friction, if I may ask?Splutter
Initial setup was a roulette of successes and failures within the team, excluding specific projects from the automated tests was not as easy and uninstalling corrupted a visual studio install for one member and leaves artifacts in menus for others.Epidote
I tried ContinuousTests in VS2012 and it's working pretty well so far. I don't know if they've updated it, but it definitely works well.Splutter
Hopefully it has been updated since we attempted to use it and is better now. Try uninstalling it if you want a real test. It was like a virus and it was easier to have it installed and ignored than resolve all the issues caused by removal.Epidote
Is there any way to remove the menu artifacts short of nuking and rebuilding my VS2012 install?Iatrogenic
Yes, but I do not believe its permanent. You can View > Toolbars > Customize > Commands and remove it from there. Careful if you try to remove the ContinuousTests files from disk and registry, this caused a screen repainting issue for a single team member where the editor did not display any content and was only resolved by re-installing ContinuousTestsEpidote
@Iatrogenic I had a similar issue. I had to go into Tools -> Extensions and Updates and uninstall Mighty Moose for the screen repainting to work again.Vespertine
The problems with the installer remains since a year ago. The team at least must provide a clean uninstall.Skyway
FYI, ContinuousTests is now open source. github.com/continuoustests/ContinuousTestsJadwigajae
Unfortunately it has been abandonedKymry
S
60

NCrunch is a fantastic tool that I discovered while it was still in beta, as a developer I try to do my best to support people that are doing cool projects. If people were using NCrunch and liked it, I'd encourage you to purchase a license.

Stuff like that takes a lot of time to develop and less people will be creating the cool tools you love if people aren't willing to support it.

Splore answered 5/4, 2013 at 17:46 Comment(5)
I sure will purchase a license once I finish school. As a student I can't afford paying 159$. Instead, I can use ContinuousTests for right now. I'd encourage Remco to give/charge less for students, that'll make us get used to it, and encourage people to use it around us.Splutter
Agreed, education licensing would be nice, but then there's a whole other verification step to setup. Maybe as the product matures that will be added.Splore
I would love to support NCrunch, but $159 is too high even for developers. $99 or lower coull be justifiable for something that is basically a luxury, albeit a very nice one. In the meantime ContinuousTests is filling the gap nicely.Polycotyledon
$159 is very reasonable compared to the cost of the rest of the software you're using if you're interested in using NCrunch. Visual Studio, SQL Server, etc..Splore
These days, $159 is likely to be the price of one or two textbooks. I'd wager NCrunch will be a lot more useful than any of your college textbooks.Idolatrous
E
29

From what I've read, most people are in the same boat and are moving to ContinuousTests. I do not think there is a perfect replacement... yet.

Here is a decent comparison between NCrunch and ContinuousTests

Update

Upon recent usage of ContinuousTests with VS2012 I have decided to uninstall. There was too much friction to get it running. I believe it needs an update to support VS2012 properly.

Epidote answered 30/10, 2012 at 21:37 Comment(10)
What kind of friction, if I may ask?Splutter
Initial setup was a roulette of successes and failures within the team, excluding specific projects from the automated tests was not as easy and uninstalling corrupted a visual studio install for one member and leaves artifacts in menus for others.Epidote
I tried ContinuousTests in VS2012 and it's working pretty well so far. I don't know if they've updated it, but it definitely works well.Splutter
Hopefully it has been updated since we attempted to use it and is better now. Try uninstalling it if you want a real test. It was like a virus and it was easier to have it installed and ignored than resolve all the issues caused by removal.Epidote
Is there any way to remove the menu artifacts short of nuking and rebuilding my VS2012 install?Iatrogenic
Yes, but I do not believe its permanent. You can View > Toolbars > Customize > Commands and remove it from there. Careful if you try to remove the ContinuousTests files from disk and registry, this caused a screen repainting issue for a single team member where the editor did not display any content and was only resolved by re-installing ContinuousTestsEpidote
@Iatrogenic I had a similar issue. I had to go into Tools -> Extensions and Updates and uninstall Mighty Moose for the screen repainting to work again.Vespertine
The problems with the installer remains since a year ago. The team at least must provide a clean uninstall.Skyway
FYI, ContinuousTests is now open source. github.com/continuoustests/ContinuousTestsJadwigajae
Unfortunately it has been abandonedKymry
C
19

NCrunch is worth every penny. $159 is really not that bad considering the effort put in by Remco to integrate it seamlessly into VS; which is really not easy. That when combined with the metrics it provides make it a simple decision in my opinion.

Catenane answered 23/1, 2014 at 11:45 Comment(0)
C
13

Have a look at Giles for continous testing.

It currently supports NUnit, xUnit.net, Machine.Specifications and NSpec, but the roadmap shows that support for all major testing frameworks is planned.

Catadromous answered 11/1, 2013 at 10:35 Comment(3)
Is it possible to integrate it to Visual Studio? I haven't seen anywhere we could.Splutter
@Pacane: It's a very simple tool, but you could add it to visual studio as an external tool (Tools -> External Tools) to start it up..Catadromous
Very nice. I like that it stays out of the way and performs the msbuild under its process after saves.Lowbred
V
1

NCrunch is an absolutely good product, a bit expensive though. The suggested alternative (ContinuousTest) does not work very well, as it doesn't have line by line coverage, total code coverage metrics and it complains about properly referenced NuGet packages in large solutions (works perfectly fine with NCrunch).

NCrunch also has a seamless integration with Visual Studio which makes coding even faster and more fun, and you know when you met all criteria specified in unit tests while you are coding, without the need to press any button.

Ventris answered 2/11, 2014 at 3:39 Comment(0)
M
0

A tool similar to NCrunch would be ContinuousTests but I don't think they do code coverage in the classical sense.

Open Source code coverage tools for .NET such as PartCover and OpenCover also exist.

Mojgan answered 30/10, 2012 at 4:4 Comment(2)
Here's the direct link to GitHub: github.com/continuoustests/ContinuousTests - the above link seems to send you through some dodgy-looking UI asking for confirmation that you're human. #notcoolBackwash
Now is a malware site.Hyetology
P
0

I was an avid NCrunch user. Now that they have went commercial I am using ContinuousTests and TestDriven.net which contains NCover for code coverage.

Padauk answered 30/10, 2012 at 15:25 Comment(3)
TestDriven.Net is commercial alsoWingspan
TestDriven.Net is commercial, but you can use the personal edition for free on OSS projects.Toulouselautrec
The above link takes me to a malware site.Hyetology

© 2022 - 2024 — McMap. All rights reserved.