Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Build appears to fail due to Japanese in c# strings
Hi, thanks for sharing this issue. This is very odd. Are you saying that the build error messages themselves are in Japanese? Something worth checking is the encoding of the source file inside the NCrunch workspace. When NCrunch builds your project, it makes copies of all the source files an…
04 Apr 2016 11:47 UTC
-
Issue cause by updating to version 2.20
[quote=ChrisLau90;8522]Hi, thanks for the reply. No I have not tried to do this yet. I will try to do this today and let you know how it goes. The problem is this project has about 3000+ unit tests so it could take a while! Cheers[/quote] I recommend the 'binary search' method, in which yo…
04 Apr 2016 11:43 UTC
-
Wrong test results when running multithread tasks XUnit Theory, AutoFixture and NSubstitute
Hi, Thanks for sharing this issue and supplying a code sample. On close observation of this problem, I've concluded it to not be a problem in NCrunch itself - it seems to be caused by race conditions within the test code. The problem appears for me also when running the test using other run…
03 Apr 2016 22:31 UTC
-
Doesn't recognize multiple tests with same name using [ValueSource] (NUnit)
Hi Tobias, Unfortunately there is a much deeper issue here with tests like this one. At some root level of a test framework, it must be possible to uniquely identify a test within a discovery or execution run. This is because data is collected from the test that needs to be organised across mul…
01 Apr 2016 10:35 UTC
-
NCrunch cache storage path on RAMDISK?
[quote=GreenMoose;8511]Hi, Is there any advantage, performance wise, to use the "NCrunch cache storage path" on e.g. a RAMDISK ? Thanks.[/quote] Hi, thanks for posting! There would be minimal advantage to this. NCrunch reads from its .cache file during initialisation and writes back to …
31 Mar 2016 18:58 UTC
-
Grid Node Storage Data Limit
[quote=VNicholson;8508]Okay, thanks for the explanation. In my case I only notice the problem every now and again so I assumed the clean-up wasn't happening and files were building up over time (in my case the Snapshots folder takes up all the space). It seems more likely I'm just doing something in…
31 Mar 2016 00:03 UTC
-
Grid Node Storage Data Limit
Hi, thanks for posting. The solution/snapshot storage on the grid node is a long term storage system designed to store raw solutions between sessions on the grid node. Its size needs to be carefully controlled by the grid node to prevent it from growing forever. The workspace storage is trans…
30 Mar 2016 22:30 UTC
-
Issue cause by updating to version 2.20
Hi, thanks for sharing this issue. Looking at the path of the command window, this seems to be sourced from a .EXE located inside your NCrunch workspace. NCrunch doesn't invoke .EXEs inside the workspace - but it does run your test code, which might be responsible for doing this. v2.20 intr…
30 Mar 2016 22:25 UTC
-
Doesnt run [Theory] tests
[quote=Kandaurov;8502] Why not just run v1 tests the same way as v2? Have you ever tried it? We have a tone of tests written using v1 and they work fine everywhere except NCrunch. According to nuget.org xunit v2 is actually released only a year ago and I think that there are still a lot of people …
30 Mar 2016 09:05 UTC
-
NCrunch Runs About 8 of 183 Tests
Hi, thanks for sharing this issue. When it appears, could you check the contents of the processing queue? I'm wondering if there are any pending test tasks still in the queue, or whether it's been cleared somehow. v2.19 does have some known issues around certain change patterns clearing out t…
29 Mar 2016 22:24 UTC
-
Malware Detected ???
Try this one - http://downloads.ncrunch.net/NCrunch_VS2015_2.20.0.4.msi.7z
29 Mar 2016 22:18 UTC
-
Doesnt run [Theory] tests
[quote=Kandaurov;8496]I have the same problem: NCrunch does not see xunit 1.8 [Theory] tests with Fluent Assertions, until somewhere in the same assembly the [Fact] or Assert.Equal() is used. Switching to Dynamic Analysis does not help I know that it is a Galio issue, but why don't you run xun…
29 Mar 2016 22:13 UTC
-
XUnit Theory/ClassData generic tests not displaying correctly
Hi, thanks for sharing this. The code sample helped me analyse this quickly. Xunit has a concept of pre-enumerated tests. Basically, a pre-enumerated test is a test that can be broken up into sub-tests (usually as a theory) and shown separately as parameterised tests in the UI. For a test to b…
29 Mar 2016 12:29 UTC
-
Is out of process nature of run failing my test?
Sorry, I don't think I explained this very well. MSTest is doing something that sets this property on the current thread by default. This is either done deliberately in MSTest, or somehow indirectly. NCrunch doesn't actually run MSTest. It uses a custom built adapter designed to behave as cl…
25 Mar 2016 12:12 UTC
-
Is out of process nature of run failing my test?
Hi, thanks for sharing this issue. NCrunch's support for MSTest is emulated (not integrated), so it's basically running the tests using it's own adapter. Through trial and error, the adapter has become quite closely aligned with the normal runtime behaviour of MSTest. But there are still edge c…
25 Mar 2016 00:20 UTC
-
How can I check if the grid nodes are being used in a console test run?
Hi Sam, The 'Applies To' setting controls where the reference to the grid node is stored. If the grid node is applied to the computer, it will be available for every solution you open on that computer. If it's applied to the solution, it will be available only for that solution. Basically this…
24 Mar 2016 22:31 UTC
-
Exception message column hides the critical part of the contents
[quote=jnm236;8485] What's the risk? Worst case, the column is unusable. But the column wasn't available in the first place.[/quote] The data you're asking for isn't sitting in the UI where it can be easily obtained. It would need to be extracted and parsed at test runtime because it relies o…
24 Mar 2016 22:13 UTC
-
NUnit3 on distributed nodes or multiple threads unstable
Thanks, that does narrow it down a bit. One unfortunate problem with having the issue appearing on the remote node is that the local bug report log file likely won't be able to tell us much of use. I think our best chance here would be to try and extract a log from the grid node when it fails. …
23 Mar 2016 21:20 UTC
-
How can I check if the grid nodes are being used in a console test run?
Hi Sam, When the tests are run on a remote node, NCrunch always places a small message at the top of the log for the test telling you that it was executed on a remote node (along with the name of the node). Basically, when looking at the test results in the HTML log, this should be obvious. If …
23 Mar 2016 21:14 UTC
-
NUnit duplicate name warning without duplicate names
Hi, thanks for sharing this issue. I've been in discussions with Charlie about changes to NUnit to better handle test identification between discovery and execution sessions. The consensus we've arrived at is that test cases making use of user defined type parameters are likely to continue to be…
23 Mar 2016 21:01 UTC