Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Build appears to fail due to Japanese in c# strings
Thanks for sharing the sample code. I've managed to reproduce the problem. It didn't fail for me in the same way as you've described, but it still failed badly enough for me to figure out what was happening :) NCrunch is failing to correctly detect the encoding of BOM-less UTF8 source files tha…
07 Apr 2016 01:18 UTC
-
Feedback about failing test in case the mouse hovers the > character
Hi Ralf, This is actually defective behaviour, and I plan to address it soon. The test entry point shouldn't be overriding the tooltip behaviour for exception messages (which are more important). When implemented correctly, the test entry point should never mask an inline exception.
06 Apr 2016 11:02 UTC
-
Build appears to fail due to Japanese in c# strings
[quote=Joakim;8530] Edit: I tested a few more things and noticed that the projects that fails to build will build as long as the files affected in each project is open in visual studio. Close any of the affected files and the project that the file belongs to fails to build.[/quote] This makes …
06 Apr 2016 03:31 UTC
-
Issue cause by updating to version 2.20
[quote=ChrisLau90;8528] It turns out that that window is caused by running any of my JavaScript unit tests. I will set these tests to ignored for the meantime until this problem is sorted out. Is there anything I can do to help you debug the problem? [/quote] NCrunch itself doesn't support Java…
05 Apr 2016 12:24 UTC
-
Build appears to fail due to Japanese in c# strings
Is there any chance you can whittle this down to a small code sample (a project that builds) and submit it through the [url=https://www.ncrunch.net/support/contact]contact form[/url] on this site? If I can get a clean sample to reproduce the problem, I stand a good chance of being able to implement…
05 Apr 2016 01:56 UTC
-
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