Forum member
GreenMoose
511 posts
Posts by GreenMoose
-
"Impacted test" ignoring coverage filter?
Just realized that tests seems to be treated impacted (and executed in engine mode "if test is impacted") even if they are not part of my current code coverage filter. Is this by design? (I for some reason had the impression that if I filter coverage to only show for 1 test, only that test will b…
13 Feb 2019 16:08 UTC
-
False positive test results with .NET Core
[quote]What won't work in my head is, that the run all test results in a green test but a single run results in a red one. That's whats bothering me.[/quote] Try running the test in an existing process, after it is passing in a run (ensure that a new process is not started since this command will s…
06 Feb 2019 10:50 UTC
-
Navigate to tets displaying coverage when lost in code?
Related to https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/36517831--pin-tests-link-in-coverage-has-been-set-to-show So today I got back to work with a vstudio full of gray dots and a NCrunch window "code coverage has been set to show 1 test only" and don't remember which…
06 Feb 2019 08:54 UTC
-
Console HTML report: See output of "test not run"?
I see, I thought it was "just" to include a "Show test output text" link for the "not run" tests as well since the output was already in cache, but I see from your answer the solution was not that simple. Thanks.
06 Feb 2019 07:51 UTC
-
Console HTML report: See output of "test not run"?
[quote]This is because when such data is included in the reports, it creates some very confusing situations where people are not sure whether the test results are actually from the latest run.[/quote] Hrm but is there any other reports than the "NCrunch Execution Run Results" that includes test out…
05 Feb 2019 07:43 UTC
-
Console HTML report: See output of "test not run"?
[NCrunch Console Tool v3.23.0.10] Is there a way I can see the output of a "not run" test somehow, that previously had been run? Or isn't the test output stored in the NCrunch cache folder at all? (I.e. it is not ignored, but "not run" due to reused cache and impacted engine mode) Scenario: I…
04 Feb 2019 15:15 UTC
-
Engine mode name edit not persisted if using Alt+O shortcut.
[v3.23.0.10] Changes in edit for engine mode are not saved if using Alt+O shortcut when edit is focused. [img=https://i.imgur.com/nqXeyhm.png]EngineModes[/img]
01 Feb 2019 08:40 UTC
-
Why is not NCrunch aborting build/analysis on pending grid nodes when no work remains?
FWIW, just had an issue where a grid node had some perf. issues and held up the TC build agent for 23 minutes when the 2 tests impacted were completed in 3, which sortof defeats the purpose of having "impacted tests only" feature on the CI server, so I created a feature request for aborting grid nod…
15 Jan 2019 16:12 UTC
-
Fluent Syntax not showing Code coverage
Is debugger breaking on line 5 if you put a breakpoint on it and select "debug selected test" in NCrunch for test that is supposed to cover it?
11 Jan 2019 15:06 UTC
-
How to pin testB when testA is currently showing coverage?
[v3.23.0.10] I would like to pin test A, which covered but grayed out (due to coverage filtering). Is that possible somehow? Background: I have engine mode "run pinned tests only" and while I am troubleshooting some code based on coverage for test A, I would like to pin test B so that is execu…
11 Jan 2019 15:05 UTC
-
TimeLine.html is not escaping HTML for test name
[NCrunch Console Tool v3.23.0.9] The generated TimeLine.html does not seem to escape HTML so e.g. below results in a popup "123" when viewed in a browser (or in a TeamCity tab): [code=xml] <div class="passingtest"><div style="display:inline;margin-left: 10px;"><i data-feather…
09 Jan 2019 07:41 UTC
-
Incremental build with NCrunch console?
Yeah focusing on NCrunch for VStudio sounds like the right thing to do. Still, I will have my hope for an "incremental build light" feature as in -PersistentWorkspacePath option or similar would make implementation easy enough to make it in a release in a not too distant future :) Request crea…
08 Jan 2019 09:13 UTC
-
Incremental build with NCrunch console?
[NCrunch Console Tool v3.23.0.9] Is there a way to som sort of "incremental build" behavior with NCrunch console in order to avoid cleaning workspace after every run, and if not are there any plans for it? [b]Background[/b] Currently I reuse NCrunch cache (-NCrunchCacheStoragePath) for every …
07 Jan 2019 14:04 UTC
-
Why is not NCrunch aborting build/analysis on pending grid nodes when no work remains?
[v3.23.0.9] I have some cases where local test runner has completed, but it still waits for slow grid nodes to finish building/analyzing projects it seems. Is there any reason for this even though "(local)" is done executing ? I guess it must know somehow that there is no work remaining and shou…
21 Dec 2018 14:17 UTC
-
NCrunch.exe "Code members in new coverage for test "
Thanks, it seems to work: I had another issue today so I re-run the build with version 3.23 the error went away, no grid nodes involved though since I kept those at 3.22. However I was not able to reproduce it when reverting back to 3.22 to verify it but I'll keep using 3.23 (incl. grid nodes) a…
21 Dec 2018 12:03 UTC
-
"NCrunch Client Inactive" - cannot use grid nodes?
[quote=Remco;12943]Has NCrunch completed its initialisation process for both of your open instances?[/quote] Yeah I was working and running tests "as usual" in session 2 when I noticed it and it was like that for a long period of time. I closed solution 2 when I was done however and now when I r…
19 Dec 2018 08:33 UTC
-
NCrunch.exe reports test failure with "old" NUnit fixture "failures"
This bite me again I think, but in a more trivial scenario: 1) in commit A a test on TC failed due to timeout. 2) I set category "long running" for the test in commit B (that category is excluded to run on TC). 3) NCrunch properly reused cache from previous run (commit A), but since that test was…
18 Dec 2018 17:00 UTC
-
"NCrunch Client Inactive" - cannot use grid nodes?
[v3.22] Am I missing something or how come I cannot use grid nodes due to NCrunch tells me "NCrunch Client Inactive" with multiple vstudio instances running ? (I can run tests just fine with NCrunch, I have 2 vs2017 instances open and the instance I opened first I can change the grid node states…
18 Dec 2018 14:38 UTC
-
Console tool, -GridServerReferencesForSolution results in InvalidCastException
[v3.22] This bit me again when I thought "Oh well I'll just test it locally with ncrunch.exe"... Is there a recommended way to supply an "empty" parameter for these 2 settings, in order to NOT use any grid nodes at all? I use below but it feels somewhat hacky. [quote] -GridServerReferencesForSo…
18 Dec 2018 09:34 UTC
-
NCrunch.exe "Code members in new coverage for test "
It is happening quite often on my CI build (with a large solution unfortunately) which is quite annoying because the build might take 30minutes and then fail due to this error and have to be re-executed without NCrunch cache (re-executing all tests), can I send create some NCrunch verbose output log…
18 Dec 2018 09:06 UTC