Forum member
GreenMoose
511 posts
Posts by GreenMoose
-
Test fails in Nunit 3.10 but not 3.9
I contributed in the NUnit discussion with my issue (testing custom assertion methods), but I guess throwing from another assertion library instead of NUnit is an option as well, thanks. *Edit: Below [url=https://github.com/nunit/nunit/issues/2758#issuecomment-384585871]suggestion[/url] worked ou…
26 Apr 2018 06:56 UTC
-
Test fails in Nunit 3.10 but not 3.9
[v3.15.0.6] Below fixture fails with NUnit 3.10.1 but passes with NUnit 3.9.0, NCrunch or NUnit issue? [code=csharp] [TestFixture] internal class ExceptionCatchFixture { [Test] public void CatchExceptionDoesNotFailTheTest() { try …
25 Apr 2018 15:53 UTC
-
NCrunch Console Tool does not see the same number of tests as VS2017
Aren't also the tests reported by NCrunch somewhat related to the generated NCrunch cache, unless that directory is cleaned? Or does that only impact if one uses something else than the "Run all test automatically" engine mode?
16 Apr 2018 08:15 UTC
-
Inclusive test result when no suitable constructor was found? (parameterized test fixture)
[v3.15.0.1] Hi, [code=csharp] [TestFixture("dummy")] internal class BadFixture { public BadFixture(int dummy) { } [Test] public void YouShallNotPass() { } } [/code] Given above test fixture (N…
06 Apr 2018 07:28 UTC
-
NCrunch renders "escaped" text as test name?
[v3.15.0.1] Hi, 1) Shouldn't the test name be rendered "non escaped", i.e. display Unicode characters and alike? (If I recall correctly previous versions rendered the actual Unicode characters in UI?) 2) Why does it escape the single quote? Test code (NUnit) [code=csharp] [TestCa…
04 Apr 2018 13:56 UTC
-
Execution Steps, Building test project 2 times?
v3.15.0.1 I noticed that MSBuild seems to be invoked 2 times for the same test project, is this normal behavior? [img=https://i.imgur.com/qbo4w9n.png]Execution Steps[/img]
19 Mar 2018 12:33 UTC
-
Churn mode - Not working with multiple threads?
[quote=Remco;11931]Ok, the build below includes a fix for this [/quote] It now works as expected, thanks :) (was it intentional you had the same version number for both builds?)
16 Mar 2018 09:13 UTC
-
About NCrunch Shows "Copyright 2010-2016"
...and I assume it should be 2010-2018 :)
14 Mar 2018 07:58 UTC
-
Churn mode - Not working with multiple threads?
[quote=Remco;11892]Here is the build with a fix for this issue. I'm keen to hear how it goes.[/quote] Works fine for me! Although, the coverage marking for failing test also shows the line for passing tests as failed, when I would expect it rather to be gray: [img=https://i.imgur.com/7pdVfba.p…
14 Mar 2018 07:48 UTC
-
Churn mode - How to stop
[quote=Remco;11879]There should be a window that appears in the corner of your screen, much like the 'Show coverage for these tests only' popup. This is the normal way to stop churn mode. The global option in the 'NCrunch' menu will also stop it. [/quote] Off course, it was too simple ;) (I have…
07 Mar 2018 07:31 UTC
-
Churn mode - Not working with multiple threads?
[quote=Remco;11878]Hi, thanks for sharing this. This shouldn't normally happen. Can you produce this consistently with any test in your suite? Does it happen when churning only one test?[/quote] It happens both if I run 2 (duplicating test below for instance) or 1 test. I can repro it easily…
07 Mar 2018 07:18 UTC
-
Churn mode - Not working with multiple threads?
I have set up multiple test runners, but when running in churn mode it seems it uses last test status, rather than last failed one. See below for an example (it fails after 11 seconds): http://recordit.co/C49ItCyPxK p.s. forum does not seem to support [url=http://g.recordit.co/C49ItCyPxK.gif]an…
06 Mar 2018 11:49 UTC
-
Churn mode - How to stop
I can't seem to stop "Churn test until it fails" ? *Edit: It seems that sometimes I can stop if I, very quickly, keep on clicking on the "stop" button repeatedly (with varying successful result).
06 Mar 2018 11:42 UTC
-
Some recommendation for how large test project should be?
I'm wondering if there are any guidelines to how large a test project should be to run smoothly, before one should split it up into smaller test projects. Currently the build/analyze step of one of our test project is almost 1 minute: [img=https://i.imgur.com/k5DT8Wc.png]Build/Process duration[/…
06 Mar 2018 09:16 UTC
-
Execution time filter with console tool?
So, given I have the settings below, is it the "NCrunchCacheStoragePath " folder I need to "keep" between sessions in order for NCrunch to remember the previous test states? I guess this also will work with "when impacted" filter then? [quote] /o "D:\TeamCity\buildAgent\work\5ba2a6bbeb83d413\_T…
02 Mar 2018 12:52 UTC
-
Execution time filter with console tool?
From the question in thread http://forum.ncrunch.net/yaf_postst2379_Is-it-possible-to-ignore-filter-tests-by-execution-time.aspx: [quote=Remco;11860]If you have a unit test that has a single execution run over 100ms, NCrunch then won't run this unit test again until it's targeted manually and rerun…
02 Mar 2018 12:25 UTC
-
Setting dialog icon for custom environment variables
[v3.12.0.15] (extremely) minor issue, but you seem to have the "standard" dialog icon for the custom environment variable setttings window (vs a nice NCrunchified one ;)), shown when e.g. alt-tabbing. [img=https://i.imgur.com/kJqFH3E.png]screenshot[/img]
02 Mar 2018 10:09 UTC
-
Include as link not copied to NCrunch output?
[quote=michaelkroes;11826]However in my test project the file is also copied to the work space and a similar test case also passes. [/quote] Hrm yeah it works here as well now when I retry the setup. I guess it might have been related to some other NCrunch internal errors I was having (bug reports …
22 Feb 2018 07:52 UTC
-
Include as link not copied to NCrunch output?
I used a dotnetCore library for the test though which I guess maybe is the culprit of including it as an attribute?
21 Feb 2018 14:25 UTC
-
Include as link not copied to NCrunch output?
[quote=Remco;11817]How is it that you've come across this structure? Was this done using a tool or project template?[/quote] I usually do like this when sharing same AssemblyInfo.cs files in multiple projects (which I guess works fine since that file is included in compile process), and now I had …
20 Feb 2018 12:04 UTC