icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.08k stars 771 forks source link

Update Nunit Console Runner to version 3 #781

Open crfnunes opened 7 years ago

crfnunes commented 7 years ago

Hello, I am having several problems running tests with new functionalities of Nunit Framework version 3.5, I checked the version of Nunit Console installed on SharpDevelop 5 (SharpDevelop\5.1\bin\Tools\NUnit) and it is old (2.6.3.0). I think that by performing the upgrade to Nunit Console Version 3 I will not have any more problems.

Looking on "Nuget" I found "NUnit Console Runner Version 3" (https://www.nuget.org/packages/NUnit.Console/3.5.0), but it is not being installed on SharpDevelop 5.

So, how can I upgrade the Nunit Console Runner?

Thank you!

CharliePoole commented 7 years ago

Somebody from the C# team could contact me for help in creating an NUnit3 tool.

CharliePoole commented 7 years ago

@crfnunes As I wrote on SO - there's no easy way for you to do this as a user. It's a bit of work that would need to be done. My guess is that by using console-runner, the #develop guys thought they were future-proofing the tool. Unfortunately, 2.6.3 was the next-to-last release of NUnit 2, after which we started with a new NUnit 3 with lots of breaking changes.

crfnunes commented 7 years ago

@CharliePoole thank you for your answer (and thanks for NUnit!).

Well, I'm anxiously waiting to this integration, I believe this integration is very interesting and important to open source community.

Nunit 3 have great new features (TestContext, OneTimeSetUp and others) that do not works on SharpDevelop Nunit Runner.

I'm sorry to duplicate forum. Thank you again.