Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. NCrunch.exe "Code members in new coverage for test "

    [NCrunch Console Tool v3.22.0.1] Today when running with a non existent NCrunch cache (1 local and 2 grid nodes active, node2 is pretty and limited to 1 test task) on TeamCity, NCrunch reported errors "Code members in new coverage for test": [img=https://i.imgur.com/uiUEx3v.png]BuildProblems[/im…

  2. NCrunch.exe reports test failure with "old" NUnit fixture "failures"

    [NCrunch Console Tool v3.22.0.1] First of all here is the NCrunch.exe parameters [code=plain] [08:48:07] : [Step 14/20] &"X:\_tmp\NConsole\NCrunch.exe" SOLUTION.sln /o "X:\_tmp\NCResults" -NCrunchCacheStoragePath "X:\_tmp\NCCache" -WorkspaceBasePath "X:\_tmp\NcWc" /vs "2012" -ConsiderInconclu…

  3. console: NCrunch Execution Run Results time in UTC?

    [v3.22] It seems the timestamp is in UTC ? (Build was started 08:44 +01) [img=https://i.imgur.com/swXtoi7.png]NCrunchResults[/img] (also it would be nice if it used a fixed ISO format instead of current region long date format to help so english speaking devs can understand it as well :))

  4. Re-run specific tests

    FWIW, since you use TeamCity. I store the NCrunch cache directory as an artifact for the build. In the following build the first step will download that artifact (for same branch, if available) via TC API in order to utilize "impacted or failed tests only" engine mode upon next build.

  5. Ensure test resource is initialized with parallel testing?

    [quote=Remco;12409]ExclusivelyUsesAttribute can be used for this. Its scope is the machine (not the whole grid), so using this attribute would solve your problem. [/quote] Suppose I have gridnode1, which is used by runner console1 and console2 that may run simultaneously. Will ExclusivelyUsesAttr…

  6. ncrunch.exe /VS switch for a grid node?

    FWIW, added related feature request https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/36182221-add-vs-switch-vstudio-version-to-grid-node-s

  7. Problem with impacted test for "Track File Dependencies"

    Although... It is a real pity this very neat feature does not work with net core. Is there any plans of supporting it? (my use case involves .NET core web api and generated API client code, which makes it kindof hard since that web api cannot easily be referenced by a .NET 4.6.2 test project)

  8. Problem with impacted test for "Track File Dependencies"

    Thanks. Maybe this could be reflected in documentation at https://www.ncrunch.net/documentation/V3/reference_project-configuration_track-file-dependencies in some way? FWIW, when I did my tests I only managed to get a test impacted if it read a non resource file that was copied to bin output, and…

  9. Problem with impacted test for "Track File Dependencies"

    [v3.22.01] I think I am not understanding the idea of track file dependencies properly, I have 2 tests reading file from a library both from file and from an assembly resource (see source at [url=https://github.com/greenmooseSE/test-repo/blob/5e38cd905b8c901106c78a827f1e9ce850dad3e0/NCrunchTracke…

  10. NCrunch Console and TeamCity muted tests

    Thanks, created https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/36070216-option-to-suppress-tc-service-msg-ncrunch-result .

  11. NCrunch Console and TeamCity muted tests

    [NCrunch Console Tool v3.20.0.6] Is there a way to avoid NCrunch reporting test failures as TeamCity build problem? E.g. [code=plain] [15:20:53] : [Step 2/4] [?-1] Reporting engine execution results [15:21:03]E: [Step 2/4] NCrunch result: TestFailure [15:20:56]i: [Step 2/4] ##teamcity[…

  12. Cleanup of workspace, a lot of outdated files being kept?

    Thanks. 1) So in short, workspace disk usage will grow over time until it gets to a point where it always can find an unused existing workspace and reuse it, right? 2) Can I somehow make safe assumptions on redundant workspace folders and remove the contents in them "scripted" from time to tim…

  13. Cleanup of workspace, a lot of outdated files being kept?

    [v3.22.0.1] I don't understand how NCrunch is cleaning up workspaces as long as the solution is kept open. Does this really work properly? I use workspace on a ramdisk but the workspace space usage by NCrunch keeps climbing unless I close/reopen the solution. If I just look at the directory st…

  14. Churn mode keeps restarting test process

    v3.21 I noticed that when I ran churn mode the test process is restarting every few seconds (dotnet core). Is this intentional behavior and can I change how often it will restart the process? (The problem in my case is the restart is taking several seconds and I would want to churn in existing…

  15. NCrunch Console Exits With Code 2

    [quote=Remco;11392]Hi, thanks for posting. The NCrunch console tool will report this status if it detects a test inside NCrunch's internal cache with a failed status. This may not necessarily have been a test from within your actual run, it may be a test that was previously run by NCrunch, then …

  16. Console tool, -GridServerReferencesForSolution results in InvalidCastException

    So connecting to a grid node via parameter seems to work :) But now I have the opposite problem, how do I avoid using grid nodes via command line parameter? I.e. isn't [b]-GridServerReferencesForSolution[/b] meant to override the default values from the global config for the computer? I cannot s…

  17. False trojan alert for nCrunch.TaskRunner.DotNetCore.20.x86.dll with Avira

    FYI nCrunch.TaskRunner.DotNetCore.20.x86.dll is flagged as trojan with Avira/Ikarus. I have submitted it to Avira as false positive. See https://www.virustotal.com/#/file/fcb566ae8363ef96467220187350fff70af20c9f6ff20e16229bb47c592d1914/detection : [img=https://i.imgur.com/iXAwWo7.png]VirusTotal…

  18. NCrunch.exe LogVerbosity Low does not include test error details

    Update: I found there was some issues with how I redirect NCrunch stdout in the build powershell script (not sure why it went fine with v3.17 though). However if I don't redirect stdout the failing tests seems to be reported correctly in TC, but I still don't see the error details (i.e. exception c…

  19. NCrunch.exe LogVerbosity Low does not include test error details

    TeamCity server version is 2017.2.3 (build 51047) NCrunch Console Tool v3.20.0.6 vs v3.17.0.2 2 main issues related to logging: 1) Log verbosity Low does not output test error details in log with 3.20, it did that with 3.17. Using level "Medium" introduces tons of Ncrunch internals and it is v…

  20. ASP.NET Core 2.1 integration tests

    Just bumped into the same issue for a new test project and verified it works when using 2.2.0-preview2-35157 (released 12th of September) (I am using NCrunch 3.20) So, with net core 2.1 you can use: [code] //Use Microsoft.AspNetCore.TestHost (2.1.1) in test project. Test web app target framewo…