Forum member

Anand

6 posts

Posts by Anand

  1. How to copy test files to NCrunh folder

    The issue seem to have resolved on its own. I did not do anything special - other than running the program in debug mode (as I was debugging) over and over. I am getting % reported instead of blank cells which is an improvement - however % is 0 and coverage markers are showing up for no coverage. …

  2. How to copy test files to NCrunh folder

    'Instrument output assembly' setting is enabled everywhere

  3. How to copy test files to NCrunh folder

    I do not see any warning from Engine - I turned on automatic, before I had it on run test manual. In the metrics window, for some files, I see Compiled Lines 0 and Code Coverage % blank, although the tests for that code in those files are passed.

  4. How to copy test files to NCrunh folder

    I turned on the setting Copy Referenced Assemblies To Workspace for the test project and then the files were copied to NCrunch folder and the tests passed. But I want to use NCrunch mainly for code coverage and looking at the source file I am not seeing any markers that indicate coverage referenced…

  5. How to copy test files to NCrunh folder

    The json files are already listed in the .csproj file of the library to be tested <ItemGroup> <None Update="appsettings.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> <None Update="JsonFiles\financing_dailyaccrual_cs.json"> <CopyToOutputD…

  6. How to copy test files to NCrunh folder

    Hello I am getting an error tryin to run tests System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Users\achaudhuri\AppData\Local\NCrunch\17380\7\test\<ProjectName>\bin\Debug\netcoreapp2.0\JsonFiles\financing_credit_cs.json'. When I checked in the folder, I found the jso…