Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    v1.45.0.12 I have an issue where devenv.exe (visual studio premium 2012, update 2) starts hogging cpu and NCrunch becomes really unresponsive. With unresponsive I mean that the only dev-related process using cpu is devenv.exe, Ncrunch proccess are basically idling. Trying to bring up NCrunch con…

  2. Terminate test runners without "resynchronize" ?

    Hi, [b]Background[/b] We have some tests with static data and ioc containers which does not gracefully handle test failures. In NCrunch I can have the option of setting "Terminate test runner tasks when all test execution is complete" to True/False. If I set it to True, every startup of test r…

  3. Roadmap

    Any news about using something else than this forum for feature requests (e.g. via https://www.uservoice.com/) ?

  4. Be able to pin "current" test, not yet executed.

    [1.0.44] [b]Problem[/b] I have the problem that building the test project takes ~30sec with NCrunch, so when I create a new test I expect to fail, I want to pin that in test window (to ensure it becomes red) and immediately navigate to some other place in code. Currently I can only pin curren…

  5. Queue in more tests for each "session" ?

    [1.0.44] When I watch my Processing Queue window, NCrunch seems to queue a lot of "sessions" with only 10 tests, where expectation of each session run is about ~12 seconds. Why does not NCrunch queue more tests in each "session", and can I somehow tweak it to push more tests in one session? If…

  6. Filter "Non blanks" not working for Exclusively Used Resources?

    [1.0.44] Trying to use filter "(Non blanks)" on the Exclusively Used Resources column, but it always end up hiding everything. Known issue?

  7. Difference between ExclusivelyUses and Isolated.

    Hi. I have test structures something like below: [code=csharp]public abstract TestBase() {} public abstract IntegrationTest : TestBase {} [TestFixture] public MyClassTest : IntegrationTest [/code] I want my integration tests (hitting datbase) to not be run in parallel, but since it take…

  8. TestCaseSource won't mark the source data as covered.

    Why would one want this behavior? It is covered as I would have expect with other covering tools and I would prefer avoid placing ncrunch comments in code when I utilize functionality of NUnit. Are there any plans making this at least as an option (i.e. so I do get coverage on TestCaseSource data…

  9. TestCaseSource won't mark the source data as covered.

    [1.43.0.23] [code=csharp][TestFixture] public class TestFixture { private string[] _data { //Not covered get { return new[] {"a", "b", "c"}; } } [Test, TestCaseSource("_data")] public void Test(string data) …

  10. Unignore all tests in a specified namespace?

    I'm trying to use NCrunch but when I have un-ignored too many tests I cannot work with vstudio any longer due to freezes as soon as I start typing and NCrunch starts to reprocessing. So I went ahead to try the manual run option and ignored all my tests to "start over". But now I want to un-ignor…

  11. Assembly.LoadFrom requires explicit copy?

    If I use Assembly.LoadFrom("My.Referenced.Project.dll"); in a test, where the test assembly has this project referenced, do I need to explicitly include this dll in assemblies to copy for the NCrunch configuration, or can I somehow get the assembly loaded in a better way?

  12. Debug.Assert messages should be filtered out

    [quote=GreenMoose;3320]You may have luck configuring the UI behavior via system.diagnostics configuration in e.g. a config file (see http://msdn.microsoft.com/en-us/library/ty5e4c4h.aspx )...[/quote] Before trying everything else non-trivial stuff (except for running tests in e.g. Release with NC…

  13. Debug.Assert messages should be filtered out

    You may have luck configuring the UI behavior via system.diagnostics configuration in e.g. a config file (see http://msdn.microsoft.com/en-us/library/ty5e4c4h.aspx ). However, what you as developer need to consider is what you expect to happen when an assertion fails. Is this part of the code you…

  14. Navigate to first file with compile error

    Somewhat related to http://forum.ncrunch.net/yaf_postst297_Navigate-previous-next-broken-test-using-keyboard-shortcuts.aspx . As above post states, ReSharper has a feature to navigate to next error in file, or next error in solution via keyboard shortcuts if that is enabled (resource intensive). …

  15. No coverage for [SetUpFixture] class (NUnit)?

    Just for follow up since this issue is still biting me. Another coverage tool I am using does indeed cover these classes (due to other coverage "calculation logic"?) so it's a bit pity I can't use NCrunch for these scenarios to ensure 100% coverage (except for excluding those classes from metrics th…

  16. Coverage Metric differs on coding style

    +1 for this. I find myself going back to fixing unit tests after continuous integration server reports missing coverage on some statements where NCrunch reports 100%. The NCrunch Metrics is a little misleading since it states "Code Coverage %" and not "Code Line Coverage %" which is the actual ca…

  17. Add horizontal scrollbar to "tests covering line 123" popup.

    When having tests in long/nested namespaces I have a hard time finding the actual test name that is covering a particular line since all I see is the leading namespace. A horizontal scrollbar (in addition to the existing vertical one) would be appreciated. (Becomes an issue rather quickly when…

  18. No coverage for [SetUpFixture] class (NUnit)?

    [NUnit 2.5.7] I have some test-assembly specific setups via [SetUpFixture], but the [SetUp] method in this class is never marked as covered. Is this expected behavior or is it a bug? In my case I have the class in the assembly's root namespace so it should be 1-time setup for all tests in tha…

  19. Can't get log output from NHibernate with NCrunch.

    I used NCrunch's config option "Additional files to include".

  20. Can't get log output from NHibernate with NCrunch.

    For the record, it was sufficient explicitly copying NHibernate.dll and log4net.dll, which has a lot less impact on build time than the "Copy referenced assemblies to workspace" option.