Forum member

qujck

17 posts

Posts by qujck

  1. Type mismatch on test parameter 2 (parameter should not be null)

    Fixed in 3.23.0.10, thank you!

  2. 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[] { "…

  3. Cannot build and run tests in a complicated server/client project

    The links in answer above are dead

  4. 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…

  5. 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…

  6. Visual Studio 2013 Code Window Horizontal Split Issue

    Any news on this?

  7. 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…

  8. 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]

  9. 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…

  10. 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 …

  11. 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/…

  12. 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…

  13. 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

  14. 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.

  15. Code Coverage % Metrics

    Cool. That's not working in this example [code=csharp][ExcludeFromCodeCoverageAttribute] public DateTime SystemDate { get { throw new NotImplementedException(); } }[/code]

  16. 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…

  17. 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; …