Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
NCrunch support for specflow feature files in non english language
Hi Arjan, I haven't tested this with NCrunch myself, but if my understanding is correct, there shouldn't be anything in NCrunch that would stop this from working. The integration with SpecFlow works via xunit/NUnit/MSTest. Basically, Specflow generates backing source files that can then be ru…
06 May 2016 11:58 UTC
-
Embedded resources in a shared project lose their folder hierarchy when built by NCrunch
Hi Nick, Thanks for sharing this issue, it was a good find. Apparently MS recently introduced changes to the build targets used to prepare a project prior to its build. These changes included the introduction of a target responsible for assigning a default value to the 'Link' metadata item on…
06 May 2016 02:56 UTC
-
Test projects not able to be analysed for tests
Hi Henry, Sorry for having completely misunderstood this problem. I thought that you were experiencing it on startup with a module load failure, but taking another look, this looks like it may actually be an NUnit version clash. NCrunch ships with NUnit 2.6.3. It's possible that FsCheck is u…
04 May 2016 22:20 UTC
-
Sometimes NCrunch discovers no tests in a test project
[quote=FrankShearar;8707]I've seen it happen a few times since the report, but unfortunately haven't caught it in the act with diagnostics yet. It does seem to happen most frequently during reloading as a result of a git checkout.[/quote] You mentioned that you are using TestCaseSource, are you u…
30 Apr 2016 07:27 UTC
-
NCrunch console tool duplicating tests?
[quote=Phonesis;8704] Looked into it more and it's possibly an issue with the way NCrunch handles SpecFlow BDD style scenarios. It appears to count the feature as a test in the HTML test output even though that isn't a test in and of itself. Ideally, it should just be counting the scenario titles a…
29 Apr 2016 09:10 UTC
-
NCrunch console tool duplicating tests?
Hi, thanks for sharing this issue. Does the run log itself show these tests being actually executed multiple times? It's possible for a test to be queued multiple times, but it shouldn't be possible for it to be run more than once in an end-to-end run by the console tool. If the tests are bei…
28 Apr 2016 20:04 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
[quote=Phonesis;8698] No issues appear to be flagged in the CI build log. The console tool exits with an OK status. If I discover anything more about when this occurs I'll let you know. [/quote] Thanks. If you can find any steps to reproduce this or manage to get an exception somewhere, please …
28 Apr 2016 20:00 UTC
-
Managing Grid Node Disk Space
[quote=stevewilliams;8697]Thanks for that. I just want to make sure that it's cleaning up as much as possible after itself. Are there any settings to control retention periods, or is the default to just clean up all of the time?[/quote] Once a workspace is created, it is retained for the duratio…
28 Apr 2016 19:59 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
[quote=Phonesis;8693] We do get the HTML report still. It just shows all tests as Not Run. None are flagged as having failed. It usually does work though. Does sound like it's failing to find the cache file for some reason. [/quote] My suspicion is that something might be wrong with the cache fi…
28 Apr 2016 11:16 UTC
-
Managing Grid Node Disk Space
Hi, thanks for posting. NCrunch creates workspaces as it needs them. This means that the number of workspaces created by the tool can only be controlled indirectly by configuration. The most significant setting in doing this is the 'Max number of processing threads' setting. When the engine …
28 Apr 2016 11:14 UTC
-
Sometimes NCrunch discovers no tests in a test project
[quote=FrankShearar;8691]There are no errors: it just doesn't find any tests in the affected project. I am using distributed processing, with NUnit, and am using TestCaseSource.[/quote] Try the following: When you start your NCrunch session, go to your configuration and set your 'Log Verbosity…
28 Apr 2016 01:45 UTC
-
Sometimes NCrunch discovers no tests in a test project
Hi, thanks for sharing this issue. When the analysis fails, how does NCrunch behave for you? Do you receive an error of some kind? Or do all your tests just suddenly disappear? Are you using distributed processing? Which test framework are you using? Are you making use of any complex c…
27 Apr 2016 23:23 UTC
-
NUnit duplicate name warning without duplicate names
[quote=ssg;8688] Thanks Remco. My diagnosis is: I received the error while I was writing the test (copying pasting lines) so when I coped the same TestCase line I got the error. Then I corrected the data but the error did not disappear. That should be trivial to reproduce right? [/quote] Got …
27 Apr 2016 23:21 UTC
-
NUnit duplicate name warning without duplicate names
[quote=ssg;8685] EDIT: interesting "Resynchronize, Rebuild" made this issue go away. I expected it to go away by itself.[/quote] Thanks for sharing this issue. Using the code sample you've provided, I haven't been able to reproduce it. If you can get this to happen again, would you mind submit…
27 Apr 2016 23:14 UTC
-
Re-running failed tests via NCrunch grid and TeamCity
[quote=Phonesis;8681] Just seems to often fail to pick up the failures and completes without running anything. Any ideas what might cause this? [/quote] The only reason I could think of behind this being intermittent would be if NCrunch wasn't able to load from the cache file, in which case all …
27 Apr 2016 12:22 UTC
-
Taxes not very clear
[quote=kstafford;8682]I just went to purchase NCrunch. Upon reviewing my paypal sybmission, I see that taxes have been added to the cost. Upon searching your domain for the work 'tax'. I found this page - https://www.ncrunch.net/legal/eula which mentions taxes at the bottom. [/quote] Sorr…
27 Apr 2016 12:17 UTC
-
Extremely slow file transferring on distributing processing
[quote=avishnyakov;8678] Again, with mobile connection all went quite alright. Seems to be the first sync only.[/quote] If the data transfer seems very slow over a normal (wired) connection, but is fast over the mobile connection, then the network is definitely a suspect :) I'm not sure what …
27 Apr 2016 01:06 UTC
-
Extremely slow file transferring on distributing processing
What is the largest file you have in your solution? If you have any snapshots that are fully uploaded to your grid server, can you check the size of these snapshots and see if they contain any particularly large files? A 10MB assembly file shouldn't be an issue, but a 100MB file might be a problem…
27 Apr 2016 00:25 UTC
-
Extremely slow file transferring on distributing processing
Hi, thanks for sharing this issue. Do you have any particularly large files included in this solution? The fact that it is stuck on one particular file suggests that there may be a very big one that needs to be uploaded. At the moment, the upload resume functionality works per-file, so if the…
26 Apr 2016 23:56 UTC
-
Hangs on initialisation in 2.21
[quote=csmager;8667] I have checked the offending file, and it apparently is ANSI encoded. I picked handful of other files in the same solution and they're all UTF8. I wonder why VS decided this one was special? I'll probably change it to UTF8 now, but glad it's helped find & fix a bug![/quote] …
24 Apr 2016 23:37 UTC