Forum member

GlobalConcepts

58 posts

Posts by GlobalConcepts

  1. Testing Projects with Code Analysis enabled fail on Grid Node Server with Version 3.19.

    solved with 3.20 :-) Thanks for that!

  2. Testing Projects with Code Analysis enabled fail on Grid Node Server with Version 3.19.

    Thank you for your response! Adding that Custom build property seems to work. Do we have to expect problems regarding "default" code analysis or is this just for ncrunch purposes?

  3. Testing Projects with Code Analysis enabled fail on Grid Node Server with Version 3.19.

    Related to some other issues we did an upgrade of our clients and our grid node server to version 3.19 yesterday evening. Since that upgrade we receive the following error message while we try to run tests projects that have a reference on projects that have Code Analyses on Build enabled: ***…

  4. NCrunch, JustMock and xUnit1

    Hello, we just switched from MS Fakes to Telerik JustMock. Upon that, NCrunch showed the following error: [quote] NCrunch: This test was executed on server '(local)' *** Failures *** Exception System.TypeInitializationException: System.TypeInitializationException : Der Typeninitialisie…

  5. Test-Group-Size

    Hah! Now that would explain plenty much of what is happening. I've not only updated xUnit but also AutoFixture and Nsubstitute. This caused about 1500 tests to fail permanently as NSubstitutes ".ReceidCalls"-methods are returning wrong results now. I will focus on fixing the ReceivedCalls-issue the…

  6. Test-Group-Size

    Hi Remco, - Is there any pattern around which tests are failing to be grouped correctly? No, there's no noticeable pattern. - Do these tests keep switching to the blue question mark in the Tests Window every time the project is built? No, they switch to red question marks. - Are you making use …

  7. Test-Group-Size

    Hi Remco, ok, that makes sense. But unfortunately NCrunch is not falling back to the previous behaviour once the tests are executed. Most of the groups still are about 8 Tests in size. Only half of the tests get grouped in sizes about 80-100 tests. As we have solutions with 6000 tests and more …

  8. Test-Group-Size

    Hi, we write our tests using xUnit. After upgrading one of our .Net 4.5.2 projects to xUnit2 the test-groups are much smaller and therefore take much longer time than before to execute: https://imgur.com/a/lQkG4 Previously the groups were about the size of 200-1000 tests, now there are mostly …

  9. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Navigation to the first test is working, since I've updated to NSubstitute 1.10. But the rest still fails. xunit / xunit.extensions is 1.9.2 - we cannot go higher because of some dependencies of AutoFixture.Xunit that is not compatible to xunit 2.x

  10. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Sample Test: public class SetSearchStringExecutionMainTests { [Theory, NSubstituteCrmAutoData] public void Constructor_HasNullGuards(GuardClauseAssertion assertion) { assertion.Verify(typeof (SetSearchStringExecutionMain).GetConstructors()); }…

  11. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    BTW: ITestCaseDiscoveryMessage isn't used anywhere

  12. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Here we go: using Microsoft.Xrm.Sdk; using NSubstitute; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoNSubstitute; using Ploeh.AutoFixture.Idioms; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; public class NSubstituteCrmAutoData : AutoDataAttribute { …

  13. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Frozen is part of AutoFixture Xunit that provides you implementations of provided types or interface to not have implement it froh var interface = Substitute.For<IInterface>(); for example. NSubstituteCrmAutoDataAttribute is a modified kind AutoDataAttribute that is also part of AutoFixture.AutoNSu…

  14. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    [quote=Remco;8565]I can't think of anything changed in 2.20 that would affect this, but I really need a code sample to analyse it first. Are you sure you can't put anything together that demonstrates the problem in a way you can share with me?[/quote] [Theory, NSubstituteCrmAutoData] …

  15. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    We're using xunit tests. The test as it selve gets recognized and executed without problems. For example we have some NullGuard tests but we have extended the AutoFixture and NSubstitute to make testing smarter and faster implemented for us. So you cannot execute that code on your environment. I…

  16. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Since Version 2.20 this problem occurs again. We have some setups that are different from each other. All of them are using combinations of Visual Studio 2015 Enterprise with either Update 1 or Update 2 and either Windows 8.1 or Windows 10. With Version 2.19 that problem did not happen. The te…

  17. DevExpress controls compatibility issues

    Hmmm, seems I never got around to report that this was solved. Apparently the DevExpress stuff wasn't as deeply embedded in the other extension, and its developers were able to implement a change in short order that corrected the issue. (The binding redirect solution did not work by the way becau…

  18. DevExpress controls compatibility issues

    We are using NCrunch, and also another Visual Studio Extension called CRM Solution Manager. When opening a certain dialog from that extension, Visual Studio displays the following error: [A]DevExpress.Utils.ImageCollectionStreamer cannot be cast to [B]DevExpress.Utils.ImageCollectionStreamer. Typ…