Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. Include as link not copied to NCrunch output?

    [v3.12.0.15] I have a nlog config file in directory A, then I include it "as link" in my test project, and set it to be copied to output if newer, resulting in something like below [quote] <ItemGroup> <None Include="..\CommonFiles\nlog.config" Link="nlog.config"> <CopyToOutputDire…

  2. Test Case in separate column possible?

    Here's screenshot when using 1 monitor (working from home, less often). [img=https://i.imgur.com/3lSuL6l.png]Screenshot 1 horizontal monitor[/img] Screenshot from office setup (3 monitors, test window is located on a secondary monitor standing vertically) [img=https://i.imgur.com/eBVf95c.png…

  3. Test Case in separate column possible?

    [v3.12.0.15] Is it possible to create a separate column for the test case when using e.g. NUnit's TestCase or TestCaseSource, or is this "out of reach" for NCrunch? (My test names becomes quite long, and then I can't see the important part i.e. the test case). A quirky workaround would be to …

  4. Log from class' ToString() used in TestCaseSource ?

    [quote=Remco;11709]Another option is to just throw an exception, including information in the exception message. That should bubble up somewhere easily accessible.[/quote] This does not seem to be the case since this was the original behavior (i.e. ToString() threw exception), NCrunch acts as if t…

  5. Log from class' ToString() used in TestCaseSource ?

    [3.12.0.15] I have a type TestCaseSource where I use .ToString() to write "null" if test case is null. The test case source is initialized in the fixture's static constructor. However this function threw an exception due to a bug introduced (which I noticed due to dropped code coverage, no error…

  6. Select current file in NCrunch metrics?

    [quote=Remco;11581]I guess this is the same sort of thing we have already in the Tests Window (i.e. pin test and show it), but it's for the Metrics Window instead :) There is nothing right now that can do this. Would you like to [url=https://ncrunch.uservoice.com]request it as a feature[/url]?[/…

  7. Subscribe to uservoice ideas without voting?

    This is the reply I got: [quote] Hey there, Thanks for contacting UserVoice! With our legacy voting system, users were limited to a pre-determined number of votes. In the context of this voting system, there was not a way for users to subscribe to ideas if they had used all of their votes. …

  8. Subscribe to uservoice ideas without voting?

    Hi. I tend to vote for an Idea I am interested in in order to get notification of updates, but I cannot seem to subscribe to an idea without voting. Am I missing something here? (I'm all out of votes :|) Thanks.

  9. Select current file in NCrunch metrics?

    [v3.12.0.15] I'm in the process of hunting down dead test code reported by NCrunch console with varying results (the coverage reported by NCrunch console seems to fluctuate). When I'm in vstudio, Is there a way I select the file in metrics, that I am currently having open i vstudio editor? (I…

  10. NetCore2 projects don't get X on exception lines

    FWIW, I also have this issue with missing line numbers in stack traces which is a real pain (I don't recall I had this issue before upgrading to netCore 2.0 :/). If I run the test in Visual Studio Test Explorer, the line numbers are shown. Is there something users can do to resolve this issue or…

  11. .NET Core 2.0.1, ASP.NET Core 2.0.1 on a Grid Node Server

    In case you haven't tried it already: 1) Ensure NCrunch grid node service is not running under system account, use a "normal" account instead (also preferable for security reasons). 2) Run nuget restore / dotnet restore, before building with NCrunch. First time this will perform a large list of nu…

  12. Force test to run on (local) ?

    [v3.11.09] I am using NCrunchEnvironment.GetOriginalSolutionPath in order to get the relative path to a file I want to update. When running it on (local) it works as expected. When running it on a grid node it returns the snapshot dir e.g. E:\NCGNode\Snapshots\17\Something.sln, but that file …

  13. NCRunch console: Multiple assemblies with equivalent identity have been imported

    FWIW: The ".net core build tools" checkbox was not checked as workload in the vs 2017 build tools installer. Since it has worked fine previously (with net core 1.0) I guess that this checkbox somehow became unchecked during some ms build tools upgrade process.

  14. NCRunch console: Multiple assemblies with equivalent identity have been imported

    Jumped into conclusion to quick on this one, the error was still there. However after half a day of troubleshooting the issue is resolved by defining env var [b]MSBuildSDKsPath[/b] to [b]C:\Program Files\dotnet\sdk\2.0.2\Sdks[/b] (open issue https://github.com/Microsoft/msbuild/issues/2532 with MsB…

  15. NCRunch console: Multiple assemblies with equivalent identity have been imported

    Update: It was not building latest git versions of the files. It works fine now after building with correct versions. Sorry. (weird though that dotnet build worked fine for the same file versions, oh well :))

  16. NCRunch console: Multiple assemblies with equivalent identity have been imported

    [quote=Remco;11474]Does this project depend on any other projects that might cause obscurity in the version of System.Xml.XDocument being used? Are you performing multi-targeting with this project?[/quote] No this is the first isolated project I started with to upgrade. No multi-targeting. *Edi…

  17. NCRunch console: Multiple assemblies with equivalent identity have been imported

    [NCrunch Console Tool v3.11.0.9] I am in the process of upgrading a dotnetCore solution and it builds/runs fine with NCrunch locally, but build server results in some NCrunch issues. (it builds fine with dotnet build in an earlier build step). What is the best approach here? Simply ditch the .…

  18. NetStandard2.0 csproj referencing NUnit without tests

    [3.11.0.9] I use a netStandard2.0 library to be used by unit tests projects (of type netCore2.0). This netStd library has some abstract base classses referencing NUnit to be reused in test projects, but no actual tests. However NCrunch seems to refuse to build it with below reason. Is this in…

  19. xunit.runner.utility v2.2.0 "Unable to restore required Nuget packages..."

    [v3.11.0.9] I get below error/warning from NCrunch Console tool (in the "Errors/Warnings" tab), however I don't use XUnit (mich might explain why it does not exist in nuget packages folder). Is this warning "by design" even though I don't use xunit in my test projects? (Only NUnit). [quote] Un…

  20. ConsoleTool: Not run tests if build is failing?

    [quote=Remco;11195]An alternative would be to rig something up to capture the output from the NCrunch engine and examine this for build errors, terminating the process if any are detected.[/quote] I had this in mind as well bug figured the NCrunch workspace will be left uncleaned, does NCrunch do…