Forum member
GlobalConcepts
58 posts
Posts by GlobalConcepts
-
Testing Projects with Code Analysis enabled fail on Grid Node Server with Version 3.19.
solved with 3.20 :-) Thanks for that!
10 Sep 2018 07:14 UTC
-
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?
06 Sep 2018 14:02 UTC
-
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: ***…
06 Sep 2018 11:48 UTC
-
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…
18 Jul 2018 12:45 UTC
-
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…
28 Mar 2018 00:10 UTC
-
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 …
27 Mar 2018 12:37 UTC
-
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 …
26 Mar 2018 11:54 UTC
-
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 …
26 Mar 2018 10:00 UTC
-
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
12 Apr 2016 14:02 UTC
-
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()); }…
12 Apr 2016 13:54 UTC
-
Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5
BTW: ITestCaseDiscoveryMessage isn't used anywhere
12 Apr 2016 11:20 UTC
-
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 { …
12 Apr 2016 11:17 UTC
-
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…
12 Apr 2016 10:01 UTC
-
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] …
12 Apr 2016 09:52 UTC
-
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…
12 Apr 2016 09:42 UTC
-
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…
12 Apr 2016 08:40 UTC
-
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…
29 Jun 2013 00:21 UTC
-
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…
07 Feb 2013 12:00 UTC