Forum member

GreenMoose

511 posts

Posts by GreenMoose

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

    [quote=GreenMoose;6402][quote=Remco;6401]Of course, this will have an impact on performance. So there may be a better way - it just depends upon how non-standard you want to get. Do you have any opportunity to run code before the XML file is read from the current directory? If so, it may be possi…

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

    [quote=Remco;6420]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? [/quote] Nope. …

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

    [quote=Remco;6416]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?[/quote] I tried both just now via context menu and via keyboard shortcut. Same result. [quote=Remco;6416] Do you…

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

    v 2.9.0.8 I have a method covered by 38 tests according to NCrunch green marker. I have tests window filter set to only show failed tests. I now select "pin covering tests", I only get those tests (6 of them) explicitly directly testing this method. I now select enable filter to also show pass…

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

    [quote=Remco;6404]Ok - Out of interest, how large is this 30s project in lines of code? And how long does it normally take for VS to build it?[/quote] 161 000 "code lines" and 64 000 "compiled lines" according to NCrunch metrics. Changing one file in project result in 17-18s build time with Vst…

  6. Tests on grid nodes should have higher default priority

    FWIW, I have sortof the same issue: 5 grid nodes, if 1 is building and I want to queue test "resetDb" manually on all nodes it is only queued on the grid node building and I have to wait for it to complete before I can queue the test on the other servers.

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

    [quote=Remco;6401]Of course, this will have an impact on performance. So there may be a better way - it just depends upon how non-standard you want to get. Do you have any opportunity to run code before the XML file is read from the current directory? If so, it may be possible to locate the file …

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

    Hi, Scenario: I have project "Domain" in which a file hibernate.cfg.xml is located. My test project requires this to be located inside same directory as the test dll (or process working directory) in order to find it. What can I do to resolve this? I've been trying to fiddle with the "addit…

  9. Internal errors with console tool v2.9.0.3

    [quote=Remco;6397]Can you confirm that you have clear and trouble-free connectivity from the machine running the console tool into the grid nodes it is configured to use?[/quote] They do connect fine when using same config via vstudio and seems to be temporary. [quote=Remco;6397]What do you usua…

  10. Internal errors with console tool v2.9.0.3

    Using NCrunch Console Tool v2.9.0.3 I have a couple of issues trying to get our solution up and running with NCrunch on TeamCity. Below is NCRunch errors I noticed when running the console tool explicitly via command prompt. When running via TC I get a lot of failed tests with non-helping …

  11. Restrict multiple tests to run within same grid node in console runner?

    Ok thanks. Added feature request https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6412542-attribute-to-enable-tests-with-shared-resource-t

  12. Restrict multiple tests to run within same grid node in console runner?

    v2.9. Scenario: I try to use the console test runner to integrate with TeamCity and I have a couple of performance tests which are creating data once and then reading it. Now when they become distributed they need to create this data on each grid node defeating the purpose (in this scenario) …

  13. NUnit TestCase with enum not working with dynamic analysis?

    [quote=Remco;6332]Sorry - just to clarify ... Is the problem you're experiencing with the test entry points not being correctly identified? [/quote] Correct. (They are executed with e.g. "run all tests")

  14. NUnit TestCase with enum not working with dynamic analysis?

    v2.9.0.3 [code=csharp] [TestFixture] public class TestFixture { [TestCase(Numbers.One, "one")] [TestCase(null, "null")] public void NotFoundWithDynamic(Numbers? number, string expected) { Assert.Fail("TBD"); } [TestCase…

  15. Best OS for a grid node, Windows 8 or Windows Server 2012?

    Is there any difference of which OS to choose if dedicating an Azure VM machine to be a NCrunch grid node server? I.e. Windows 8.1 versus windows server 2012. Thanks.

  16. Html report for console test runner is not escaping html in test case

    v2.9.0.3 So I have a NUnit test case with a string containing "<script>alert(123);</script>", this is not escaped in html output so when I open the AllResults.html I get these alerts executed.

  17. Code coverage not updated properly in 2.9.3

    [quote=Remco;6287]Thanks, I just saw this report come in. It looks like NCrunch failed to load coverage data because of inconsistencies in the cache file. It seems that the coverage data was referencing a test that didn't actually exist in the cache. Have you had any rough exits from VS lately?…

  18. Code coverage not updated properly in 2.9.3

    Not sure if related but today test window "got stuck" at "loading code coverage data (28%)". Submitted bug report with same title.

  19. Code coverage not updated properly in 2.9.3

    [quote=Remco;6276]Thanks for sharing this. Have you been able to find a way to make this happen again?[/quote] No, I'll have to get back to you if I find any kind of consistency.

  20. Code coverage not updated properly in 2.9.3

    [img=http://i57.tinypic.com/25hq2bo.jpg]Screnshot[/img] Test was first failing at line 166, then I fixed it and it is now passing but code coverage is not properly updated. (run impacted test auto engine mode). If rerunning test explicitly within existing task runner it get covered. I also no…