Forum member

nCubed

25 posts

Posts by nCubed

  1. MSTest 4.0.0

    Happy to report "NCrunch_VS2022_5.19.0.3.msi" brings back the NCrunch visual indicators and test discovery. Thanks!

  2. MSTest 4.0.0

    Remco, We just upgraded our entire suite of tests with over 1k changes specifically for MSTest 4 support. We do not have the option to downgrade to V3. [list] [*] is there an ETA for MSTest 4 support? [*] any workarounds until V4 support? [/list] Thanks!

  3. Configuration: Control cores used for test execution

    In the NCrunch Configuration general settings, there is a setting for "Control cores used for test execution" with the default value set to false. I've search the docs and forums but can not seem to find any reference to this setting. Can someone please chime in with the what this setting will do wh…

  4. Custom Engine Mode RegEx Failing to Exclude Tests

    There is only a directory named: .NCrunch_<solution.name> There is no folder for _ncrunch_<solution.name> I did delete the directory (while VS was closed). Rebooted. Same issue. Decided to just right-click on project in the tests window and ignore selected tests (only selected the project its…

  5. Custom Engine Mode RegEx Failing to Exclude Tests

    If I get some time, I'll see if I can create a sample solution. What I haven't done is pull the solution down into a new local repo and test. I think I'll do that first. Appreciate the tip. You're right, I am aware of the exclude vs ignore option. FWIW: This project shows the expand icon w/ the …

  6. Custom Engine Mode RegEx Failing to Exclude Tests

    VS 20222 NCrunch 4.18.0.3 I have several integration test projects. All of their namespaces/project follow the exact same pattern: Abc.Xyz.IntegrationTesting.Zyx.Cba Where the name always includes ".IntegrationTesting." I've created a custom engine mode as follows [code] project name do…

  7. Base class is not showing any code coverage

    Just ran into the same issue. But different scenario. About the best I can recall: * add new base class * create new derived class in another project * in derived class, split the window in VS (pull down from the top of the scroll bar to split horizontall) The bottom window showed code coverag…

  8. Base class is not showing any code coverage

    [quote=Remco;16907]Thanks! Can you confirm whether your refactoring was done manually or with a tool? (i.e. VS built-in refactorings or Resharper)[/quote] As this was simply moving methods from the original class and into the new base class, most everything was manual. There may have been some m…

  9. Base class is not showing any code coverage

    Was thinking about this and thought I could provide some additional information that may help you: [list] [*] Engine Mode: Impacted Tests only, with a filter to exclude some projects not referenced by this project [*] Only consider tests 'Out of date' if they are 'impacted' = true [*] Base class…

  10. Base class is not showing any code coverage

    And just like that the code coverage markers are back again; similar to another user's post a bit ago. FWIW: in the time I had posted the original message, I had done a complete system shutdown and reboot. To answer your question, there were no markers. Just the standard VS gutter. Thanks!

  11. Base class is not showing any code coverage

    Win 10 Pro VS 2022 Enterprise (v17.7.5) NCrunch 4.18.0.3 .net6.0 I have an abstract base class that is being inherited by two other classes. Everything in the derived classes correctly show the NCrunch code coverage. However, the base class shows zero code coverage. I've gone through the d…

  12. DataRow issue with MSTest 3

    [quote=Remco;16737]Sorry for the trouble. Could you try the build below and let me know how this goes? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_VS2022_4.18.0.2.msi]NCrunch_VS2022_4.18.0.2.msi[/url][/quote] Looks like I installed the console installer last time. Sorry! Just …

  13. DataRow issue with MSTest 3

    [quote=Remco;16725]Would you be interested in trying the build below to see if this solves the problem for you? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_4.18.0.1.msi]NCrunch_Console_4.18.0.1.msi[/url] [/quote] Installed the 4.18.0.1 MSI - same issue. [quote]Unabl…

  14. DataRow issue with MSTest 3

    [quote=Remco;16666]Thanks for the heads up on this. I'll check it out. Dynamic analysis should hopefully be a workaround for the time being.[/quote] Issue persists with tests using DataRow attributes, even when updating the test project to use Dynamic Analysis. Win 10 x64 VS 2022 x64 v16.6.4 …

  15. NCrunch Does Not Copy Files Marked "Copy Always"

    [quote=Rodney;7248]First this has nothing to do with dependent projects or referenced assemblies. This issue is just with the files within the actual test project that are not embedded resources and have the build action on none or content, and the copy to output directory set to copy always or copy…

  16. Canceling NCrunch wizard does not cancel

    [quote=Remco;6160]Unfortunately this area hasn't received much attention lately. If you like, you can create a request to clean it up on [url=https://ncrunch.uservoice.com]uservoice[/url]. If enough people vote for it, we can bump up the priority and get the work done sooner.[/quote] Hi Remco, …

  17. Setting up Distributed Processing

    Remco, I wanted to give you a heads up that we are doing some additional testing and will get back with you in a week or so. Thank you for your excellent feedback and support! Thanks!

  18. Canceling NCrunch wizard does not cancel

    When using the NCrunch wizard, clicking the cancel button does not cancel as expected. Rather, NCrunch will attempt to load up the solution in the background and once the solution is loaded, it will then be disabled. I would expect clicking cancel would completely cancel the operation and nothing wo…

  19. Setting up Distributed Processing

    Hi Remco, I had take some screen shots of the VM resource monitor and it was indeed pegged at nearly 100% while working with NCrunch; when idle (no NCrunch activity), it was sitting at the normal 5% blips. The VM's and Dev machines are both on mechanical hard drives (7200 RPM I believe). I'll …

  20. Setting up Distributed Processing

    Hi Remco, The last paragraph, re: single thread, makes sense for some of the performance issues with the distributed nodes. We did a test with 3 of us all connecting at the same time and the node simply hung. Most of the performance issues we've seen are around Visual Studio becoming very slug…