Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Problem running tests that use Sqlite, assembly not found

    Assuming you have a reference to SQLite.Interop.dll somewhere in your code, this is a problem that should be solvable with just the 'Copy referenced assemblies to workspace' setting. Note that this setting only applies itself to the project you set it on, which in some cases isn't enough. If you…

  2. Project settings not taken into account after project rename

    Excellent, thanks! I'll see if I can get this fixed.

  3. Project settings not taken into account after project rename

    Thanks for sharing this. There is code within NCrunch to automatically rename the config file when the project is renamed ... is this something you can reproduce consistently? I'm wondering if there may have been something unique about your situation that caused this code to fail.

  4. Local vs roaming configuration of NCrunch project and solution files

    There is a popular feature request that would probably capture this - [dead link]. The original idea behind the 'Ignored Tests' feature was for it to be used to specify tests that wouldn't work with NCrunch. Such settings were ideally shared between team members as it would be annoying for them …

  5. NCrunch for Visual Studio 14

    [quote=Graham;6448]I've just used [url=http://www.ncrunch.net/documentation/manual-installation-instructions]VS2013's manual installation[/url] on VS 14 CTP 3. Test results, metrics and coverage markers all look fine on my solution 50 project solution running NUnit tests. I needed to use VS 14 bec…

  6. Exception on grid server 2.10.0.4

    The behaviour in this case isn't exactly by design. Normally when a protocol or version incompatibility issue appears, it should become visible on the client's side with a meaningful error. In this case, the error is appearing on both the client (where it is showing correctly) and the server, as t…

  7. The target "ResolveKeySource" does not exist in the project.

    Is there any chance you can share with me the project type guid specified next to this project inside your solution file? Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyProject", "MyProject.csproj", "{OTHER GUID}" EndProject The project type GUID for the above project is FAE04EC0-301F…

  8. The target "ResolveKeySource" does not exist in the project.

    Was the project not showing in the NCrunch config window?

  9. The target "ResolveKeySource" does not exist in the project.

    WiX projects aren't really supported by NCrunch. They use a different set of build targets and generally aren't needed in a test environment. The best plan would be to make sure the project is ignored by NCrunch using the 'Ignore this project completely' configuration setting. As long as the .ncr…

  10. Exception on grid server 2.10.0.4

    Are these errors showing for you in the distributed processing window? If so, they may be getting kicked up from a protocol failure from a different connection. If the grid node is being shared with another client that is running a different version (i.e. 2.7), then the failure of the grid node …

  11. Exception on grid server 2.10.0.4

    Hi, thanks for sharing this issue. This error is being kicked up by an error handler gone wrong. The correct message is actually that of a protocol incompatibility. Have you also upgraded your grid node server to the latest version (2.10)?

  12. No message when test taking parameters is attempted to run without parameters

    Sadly, there may not be much that can be done on this from the side of NCrunch. NCrunch relies on data being supplied from the test frameworks themselves. Where tests are erroneous, they are often ignored, or the errors are raised in ways that can't easily be reported by NCrunch (as the tests th…

  13. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=GreenMoose;6430] Hrm,which means, since I am in the process of integrating console tool with TeamCity, I need to "redesign" build behavior so I use nuget restore explicitly then to avoid dependency on pre-building with msbuild ([url=http://www.xavierdecoster.com/migrate-away-from-msbuild-bas…

  14. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=GreenMoose;6428]Thanks. Looks like post build event is the way to go. Speaking of which, does NCrunch always run the Nuget pre build restore of packages like vstudio (making build times take a lot longer than when not restoring)? [/quote] No. NCrunch will not perform an auto package rest…

  15. How to get a file copied to bin\Debug (/Release) for test projects?

    [quote=GreenMoose;6426] 1) What is "Additional files to include" meant to be used for? Why can't I reference my log4net.dll and NHibernate.dll at solution level by adding path e.g. "Externals\log4net.dll"? [/quote] 'Additional files to include' is needed to specify files that NCrunch should cop…

  16. How to get a file copied to bin\Debug (/Release) for test projects?

    Your best bet is the NCrunch.Environment.GetAllAssemblyLocations method. This method will return the full file path of ALL assemblies included in the test application domain. It's possible for you to enumerate this list of files, find the output file from the project containing the NHibernate conf…

  17. "Pin covering tests" not including tests if filter for showing passing tests is off

    I've had no luck reproducing this issue. The code handling the assignment of pinned status of tests doesn't consider the Tests Window filters at all (there is no connection). There must be another variable involved. Do you perhaps have a search filter present? Can you reproduce this on a clean…

  18. Tests on grid nodes should have higher default priority

    @Ralf - Thanks for this. I'll follow up with you via email @GreenMoose - It looks like there is a bug here. According to the code, if you try and queue a test to run on a specific node, trying to re-queue the same test for a different node will result in the originally queued task disappearing …

  19. How to get a file copied to bin\Debug (/Release) for test projects?

    Thanks, this is really useful information to help with further optimisation. The difference in static vs dynamic analysis is particularly interesting.

  20. "Pin covering tests" not including tests if filter for showing passing tests is off

    Thanks for sharing this issue. When you choose to pin the covering tests (in both cases), how are you doing this? Is this done via context menu on the line of code? Do you have the 'Show coverage for these tests only' filter active, or a filter set up on the code coverage itself via engine mode…