Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Different IL when running under NCrunch runner
Hi, thanks for posting. Yes, NCrunch does definitely modify the IL of an assembly. It does itself use a modified version of Mono.Cecil to do this. The modifications include instrumentation that is used to track code coverage and performance data, among other things. It's possible to turn this …
26 Jul 2017 09:08 UTC
-
Grid Server keeps disconnecting
[quote=MatthewSteeples;10834]Just discovered that this problem is only on 2 of our 3 active grid nodes. Trying to work out what's different about the one that works[/quote] Thanks, I'd be really interested to know this. I'm still at a bit of a loss here on how to reproduce this problem. Any ext…
25 Jul 2017 23:11 UTC
-
InvalidCastException when building assembly containing xunit 2.2 tests for a ASP.NET Core 2.0
Hi, thanks for sharing this issue. See here for more information about this - [url=http://forum.ncrunch.net/yaf_postsm10835_AutoFixture-Warning-Incorrect.aspx#post10835]http://forum.ncrunch.net/yaf_postsm10835_AutoFixture-Warning-Incorrect.aspx#post10835[/url]. This is caused by there being an…
25 Jul 2017 23:06 UTC
-
3.10.0.20 nCrunch.TaskRunner40.x64.exe flagged as virus in AVG
Thanks Ben. I've also issued a request to AVG and received a response claiming that it was a problem in the scanner and they will fix it in a future version.
25 Jul 2017 23:02 UTC
-
AutoFixture Warning Incorrect
[quote=ewinhong;10835] I tried removing references and it appears that there is an underlying issue that another external library (specflow) does not work. I believe xunit.abstraction was the xunit library that was not the current version. [/quote] It's possible that the version of SpecFlo…
25 Jul 2017 23:01 UTC
-
Grid Server keeps disconnecting
Do you have any other solutions that you can test the grid with? I'm wondering if this problem may in some way be data related.
25 Jul 2017 11:45 UTC
-
Grid Server keeps disconnecting
Thanks for sending through the logs. This is quite puzzling. The logs show the problem as occurring on the grid node. When attempting to send a routine message through the socket, the node gets hit with an exception bubbling up from down the stack. It's as though the connection was forcefully …
25 Jul 2017 00:18 UTC
-
AutoFixture Warning Incorrect
Thanks for sending this through. As you've discovered, the key issue here is an exception being thrown when NCrunch tries to invoke Xunit to discover tests: System.InvalidCastException: Unable to cast object of type 'Xunit.Sdk.ReflectionAssemblyInfo' to type 'Xunit.Abstractions.IAssemblyInfo'. …
24 Jul 2017 23:55 UTC
-
Tests returning error 5 after upgrade, can we suppress this?
Hi Sam, Normally, tests that aren't run should be shown in the HTML report generated by the console tool. It's possible that tests weren't run by the tool if the tool is using an engine mode or automatic execution filter that excludes the tests from the run, or if the tests are making use of Req…
24 Jul 2017 23:24 UTC
-
Async build and build in general is a lot slower on VS 2017 Preview 4
Hi, thanks for the feedback here. [quote=abelb;10824] I have read this post (http://forum.ncrunch.net/yaf_postst2170_Visual-Studio-2017-Preview-15-3.aspx) which made me understand it is next to impossible to keep up with the quick release cycle of preview versions of Visual Studio. However, I de…
24 Jul 2017 23:18 UTC
-
NCrunch Atomic attribute
Hi Ignas, The Atomic attribute only works when applied at fixture or assembly level. I'm not sure how your acceptance tests are structured, but the attribute usually should be placed on the same class containing the methods that use the Xunit attributes (like Fact). My understanding of the de…
24 Jul 2017 13:21 UTC
-
Grid Server keeps disconnecting
Hi, thanks for sharing this problem. What level of consistency do you see with this problem? Does it happen every 60 seconds or so? Does the grid server manage to run any tests? Is there any chance you could submit a bug report after it happens to you? v3.10 included some reworking of the t…
24 Jul 2017 00:52 UTC
-
Grid server stuck in pending
Hi, thanks for sharing this issue. Do you also see this behaviour with a simple new test project containing just one dummy test? (checking if this is related to your solution or related to the configuration on the node) In the grid server configuration, what is the value you have set for the […
22 Jul 2017 00:42 UTC
-
fail to compile
Hi, You have a couple of options here. The first is to try including the package into the workspace by adding it to the 'Additional files to include' NCrunch project-level configuration setting. The second option is to add an extra condition to the error so that it doesn't fire under NCrunch,…
21 Jul 2017 12:56 UTC
-
AutoFixture Warning Incorrect
[quote=ewinhong;10806] xUnit v 2.2.0 Tests do work with Resharper (- BROKEN LINK -)Resharper[/url][/quote] If you look in the Processing Queue Window, do you see any 'Analyse Assembly' tasks in the list? Also, would you be able to submit an NCrunch bug report after NCrunch has completed b…
21 Jul 2017 00:07 UTC
-
3.10.0.20 nCrunch.TaskRunner40.x64.exe flagged as virus in AVG
Hi Ben, Thanks for pinging me on this. I'm trying to report this to AVG at the moment, though I'm not sure how effective this will be. Do you have an option anywhere to report the false positive?
21 Jul 2017 00:04 UTC
-
AutoFixture Warning Incorrect
[quote=Silvenga;10804] We were wondering, depending on how NCrunch's discovery system works, if it would be possible to detect when test signatures change when no IL differences are detected. This would be infinitely more prefered to us developers, IMHO, then a warning when a library is used.[/quot…
20 Jul 2017 01:11 UTC
-
AutoFixture Warning Incorrect
[quote=ewinhong;10802] This warning is actually not running any of my 2700+ tests. If ncrunch ran the tests, there would be no issue. [img=(- BROKEN LINK -)]autofixture warning but not running any tests[/img] I previously attempted to use 3.9.0.1 and it did not work at all. I am going to g…
19 Jul 2017 23:34 UTC
-
Empty TestOutput files
Hi, thanks for posting. I don't know of any way of stopping these files from being created in the current version. Technically, they don't need to exist, as they don't contain any data. I'll take a look at adjusting the report writer so it avoids creating them for tests with no trace output.
19 Jul 2017 12:28 UTC
-
AutoFixture Warning Incorrect
Yes, it's true that AutoFixture won't cause problems if it isn't used for providing parameters to test cases or theories. I have a somewhat bias here in that many of the problems I chase are related to inconsistent test case parameters, so I assumed that this was the primary purpose of the library.…
19 Jul 2017 00:16 UTC