Forum member
qujck
17 posts
Posts by qujck
-
Type mismatch on test parameter 2 (parameter should not be null)
Fixed in 3.23.0.10, thank you!
10 Jan 2019 15:14 UTC
-
Type mismatch on test parameter 2 (parameter should not be null)
The following code works fine from Visual Studio Test Explorer but NCrunch displays an error: [quote]Type mismatch on test parameter 2 (parameter should not be null)[/quote] [code=csharp] [TestClass] public class UnitTest1 { [DataTestMethod] [DataRow(new[] { "…
14 Nov 2018 11:53 UTC
-
Cannot build and run tests in a complicated server/client project
The links in answer above are dead
09 Nov 2018 09:02 UTC
-
Benefits of NCrunch vs Other Test Tools
[quote=Remco;8358][quote=qujck;8356]I had to disable NCrunch the other day as one of the guys I was demoing to is colour blind (NCrunch is not very colour blind friendly).[/quote] You may already know this, but I just wanted to confirm that it's possible to [url=http://www.ncrunch.net/documentati…
01 Mar 2016 16:57 UTC
-
Benefits of NCrunch vs Other Test Tools
I had to disable NCrunch the other day as one of the guys I was demoing to is colour blind (NCrunch is not very colour blind friendly). How do you run tests without NCrunch? Eventually I defined a shortcut key to build and run all tests which got me working but it adds a delay between finishing some…
01 Mar 2016 11:06 UTC
-
Visual Studio 2013 Code Window Horizontal Split Issue
Any news on this?
23 Dec 2015 15:40 UTC
-
The tag 'XYZ' does not exist in XML namespace
Ok, it's working but I have no real idea why - I changed Embed Interop Types to true, VS build failed, changed it back to false and VS and NCrunch builds both succeed. Doing so made a slight modification to the project file From this: [code=xml] <Reference Include="ICSharpCode.AvalonEdit, Ve…
12 Sep 2015 12:03 UTC
-
The tag 'XYZ' does not exist in XML namespace
Hi @Remco, the code also builds for TeamCity pulling from GitHub and in [url=https://ci.appveyor.com/project/qujck/markdowneditor]AppVeyor[/url]
12 Sep 2015 11:16 UTC
-
The tag 'XYZ' does not exist in XML namespace
This is my first Wpf project so this could be something simple I'm doing wrong. I've added the [url=https://github.com/icsharpcode/AvalonEdit]AvalonEdit[/url] control to my form (based on the [url=https://github.com/icsharpcode/AvalonEdit/blob/master/ICSharpCode.AvalonEdit.Sample/Window1.xaml]Sam…
12 Sep 2015 11:04 UTC
-
Can NCrunch be configured to work with Concordion?
Thanks for the reply - I found that link in the forums and worked through it and got past the problem of the error. Package Manager Install [b]PM> Install-Package NUnit.Core -version 2.6.3[/b] Add references to [b]nunit.core[/b] & [b]nunit.core.interfaces[/b] And define a class like …
22 Mar 2015 22:04 UTC
-
Can NCrunch be configured to work with Concordion?
Hi, I'm having a go with [url=http://concordion.org/dotnet]Concordion[/url]. The tests themselves are built on top of NUnit and can be configured to run with Visual Studio/TestDriven.NET/NUnit Test Adapter/ReSharper. I've followed the instructions for NUnit as outlined [url=http://concordion.org/…
22 Mar 2015 18:09 UTC
-
No tests found since migrating from NUnit to Xunit
I have spent the last few hours converting 914 unit tests from NUnit to Xunit (xUnit.net 2.0.0 build 2700) - the solutions compile and TestDriven.NET can run all the tests but NCrunch is reporting that there are no tests. Am I missing a config setting or something? [quote] ------ Test started…
24 Jul 2014 13:52 UTC
-
Code Coverage % Metrics
I've marked the entire Mock class with `[ExcludeFromCodeCoverageAttribute]` and this gives me what I need. Fine product by the way - very impressive. Cheers
20 Apr 2014 14:46 UTC
-
Code Coverage % Metrics
In that example I get 98.98% coverage - but my tests cover 100%. So I want NCrunch to say 100%. That's all. And this is just an example - my method of manually mocking is the root cause of these unnecessary problems.
20 Apr 2014 00:30 UTC
-
Code Coverage % Metrics
Cool. That's not working in this example [code=csharp][ExcludeFromCodeCoverageAttribute] public DateTime SystemDate { get { throw new NotImplementedException(); } }[/code]
20 Apr 2014 00:18 UTC
-
Code Coverage % Metrics
Thanks @Remco 2 things - the code coverage suppression option is not transportable - i.e. it only works for NCrunch so it's basically a hard coded solution (being ignored is not the same as being flexible). And starting a line of code with // is not automatically reusable. - I do not wish to ex…
20 Apr 2014 00:05 UTC
-
Code Coverage % Metrics
I always choose to mock my own abstractions and I've noticed that the parts of the abstraction that I do not need in a particular unit test are affecting the Code Coverage metrics. E.g. [code=csharp] private class MockDateProvider : IDateProvider { private readonly DateTime businessDate; …
19 Apr 2014 22:32 UTC