Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Tests re-executing if modifying Tests window layout

    Bug report submitted.

  2. Tests re-executing if modifying Tests window layout

    [v3.7.0.4] I have an engine mode "if test is failing or has not been run" and if I modify the column size or e.g. click a column to change sort order, the tests are re-executing. (I have failing tests visible in the tests window). I guess this is a bug? Thanks.

  3. Impacted tests with internal types under CompareIL detection mode.

    Great! Works for my solution now as well :)

  4. Impacted tests with internal types under CompareIL detection mode.

    [quote=Remco;10204]Is there any chance you could isolate this issue with a sample project? I'd like to fill this hole if possible :)[/quote] Sent via mail.

  5. Impacted tests with internal types under CompareIL detection mode.

    Ok thanks. 3.7.0.3 did not fix the issue however (yes the method is async, and it behaves the same as before; e.g. commenting out a line: no impact detection, un-commenting a line/inserting a line: impact detection works).

  6. NCrunch temp files nCrunchTemp_xxx.csproj in project directories

    I noticed I get files like [quote]nCrunchTemp_41531c93-bb45-40ad-809f-e0847bbac67d.csproj[/quote] generated (and then removed) in my project directories. Is this due to technical reasons or why are NCrunch not using either NCrunch cache or Workspace base path directories for this? (I acccide…

  7. Impacted tests with internal types under CompareIL detection mode.

    [v3.6.0.1] From what I understand internal types are excluded from the impact detection engine, right? i.e. if I alter the some covered lines of an internal type, that will not mark tests covering those lines as impacted? (And marking that assembly with [assembly: internalsVisibleTo("myTestAsemb…

  8. NCrunch console 3.6 ignores /E parameter?

    [quote=Remco;10175] As part of V3, the console tool parameter handling was upgraded so that you can override almost any global or solution-level configuration setting using the command line, including the TestsToExecuteAutomatically setting.[/quote] ..almost as in not CustomEnvironmentVariables I …

  9. Using NCrunch console on network drive results in ERROR (Internal).

    So, since we don't have [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6408029-add-a-console-runner-nuget-package]NCrunch Console on Nuget[/url] yet I tried using NCrunch from a network location (using \\UNC\sharedPath and f:\MappedPath resulted in same error) I got b…

  10. NCrunch console 3.6 ignores /E parameter?

    That darn herring again :P. Ok I got it to work, my final results: * Using /e "Manual", where "Manual" is an engine mode in .v3.ncrunchsolution, works as expected without /c (no tests executed). * Using /e "Manual" without existing .v3.ncrunchsolution and without /c, causes NCrunch to execute all …

  11. NCrunch console 3.6 ignores /E parameter?

    [quote=Remco;10165]Did NCrunch itself do this? Normally I'd expect the engine to throw up all sorts of errors if it encountered this kind of malformed XML.[/quote] it was just an extract from the config file, the actual files contains more engine modes etc. but the <Settings /> was the reason NCru…

  12. NCrunch console 3.6 ignores /E parameter?

    Regarding engine mode not being picked up, I found the issue I think. My ncrunch config file contained [quote] <EngineMode> <Name>Manual</Name> <Settings /> </EngineMode> [/quote] (default when creating a new engine mode it seems?) which seems to cause it to ignore what…

  13. NCrunch does not output Assert.Ignore reason

    When I use NUnit's Assert.Ignore (and have inconclusive tests as failing), I don't get the actual message (same behavior in vstudio-addin and console tool) so output is something like [quote] [10:56:42][...ItReturnsRefreshedCurrentTime] [10:56:42][...ItReturnsRefreshedCurrentTime] [10:56:42][.…

  14. NCrunch console 3.6 ignores /E parameter?

    [quote=Remco;10161]When told to /E to an engine mode that it can't find, NCrunch will just swallow the problem and use the default instead. The engine mode is switched using an event that originates within the console tool code (EngineModeSwitchedInUIEvent) on response to DteSolutionOpenedEvent.[/q…

  15. NCrunch console 3.6 ignores /E parameter?

    I having issues troubleshooting a TeamCity build using NCrunch Console. The setup I have is the following: 1) A <solution>.v3.ncrunchsolution with an engine mode, setting specific env. variable. 2) Another config file, containing the workspace paths definitions etc. for use on build agents. (not …

  16. NCrunch console ERROR (Internal): System.ArgumentNullException

    [quote=Remco;10128][quote=GreenMoose;10127] I later introduced some vs2017-only projects, and for some reason this seems to cause NCrunch to fail. After cleaning up all vs2015 leftovers NCrunch on TeamCity is happy again :).[/quote] Interesting ... How did this cause NCrunch to fail? Did it jus…

  17. NCrunch console ERROR (Internal): System.ArgumentNullException

    Ok I found the issue, sortof. The solution consisted both of vs2017 and vs2015 projects (in order to keep compatibility with vs2015) along with a global.json to set the framework version to old core release. (This worked fine with NCrunch) I later introduced some vs2017-only projects, and for som…

  18. NCrunch console ERROR (Internal): System.ArgumentNullException

    [quote=Remco;10124]Hi, thanks for sharing this problem. I can see how this is happening in NCrunch and it should be easy to fix it, but this looks like a downstream problem from something else. This exception should only happen if you are running NCrunch over a solution with no projects able to be…

  19. NCrunch console ERROR (Internal): System.ArgumentNullException

    [NCrunch Console Tool v3.6.0.2] [quote] [13:56:49.8953-Core-8] All projects have been loaded [13:56:49.8953-Core-8] ERROR (Internal): System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate) …

  20. NCrunch console warnings in log output?

    Yeah my intention was to fail the TeamCity build if it finds a ncrunch warning in logs (as it does for all other warnings). I can parse the html output file but that's not pretty :)