Forum member

Rodney

17 posts

Posts by Rodney

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

    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 if newer. I ha…

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

    I have an NUnit test project, and I have a Resources folder that has text files, and other items, several with a Copy to Output Directory setting of Copy always. However while MSBuild, R# and other test runners seem to obey this important setting, NCrunch appears to ignore it. This is the TEST proj…

  3. Why does the Metric Window include Tests Projects?

    Thanks I created a feature request on the NCrunch UserVoice: [url=https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/6345860-separate-test-projects-from-non-test-projects-in-m]Separate Test Projects from Non-Test Projects in Metrics Window[/url]

  4. Why does the Metric Window include Tests Projects?

    Those are rare corner cases for today, especially the "early way that some people wrote automated tests". It seems rather easy to figure out a test project, as you have to run the tests, so if a project has any Unit Test class then they are probably a Unit Test project in todays world of unit tes…

  5. Support for Visual Studio's Profiler

    bump

  6. System.UnauthorizedAccessException

    For the most part I have moved on as everything is "working", even if its not a clean as I would like it for the unit tests. The update was just to let you know of an oddity I experienced with NCrunch implementing the changes around your suggestions with the attributes. The renaming trick works …

  7. System.UnauthorizedAccessException

    Update: the attributes do require them to be in the namespace NCrunch.Framework and can't be placed in another. Using Isolated and Serial together appears to allow the test to run as if I set the Allow Parallel settings to false, and those tests do take longer to complete now as expected under this …

  8. System.UnauthorizedAccessException

    1. We have two DLL that are copied out and then referenced on is a native library and the other is a mixed-mode on. The native one is not as much of an issue as it has less of an issue with some changes I made since it is not a C# DLL loaded into the AppDomain. The Mixed-Mode one however is the big…

  9. System.UnauthorizedAccessException

    1. I have troubleshooted this to your process holding the locks because it never really exits and the tests are testing an API that holds on to resources by design until the application that called it finishes. This is because the cost of using these resources is high initially, but to keep them a…

  10. System.UnauthorizedAccessException

    Fine that explains why there are so many of them. However there is no excuse for them to be holding locks on files that my tests copied and then want to copy again to over write on another run in the temp folder. This is not a parallel issue as the unit tests themselves work usually and when they…

  11. System.UnauthorizedAccessException

    I have been having this problem lately with 1.44. It has to do with your tests running over and over and NCrunch is the one locking the file that is getting the exception. Like rlarno stated if you close the solution and reopen it it works for a while. Eventually though it will come back and you…

  12. Run Tests As Administrator

    It would be nice if on a project configuration setting if we could have a setting called "Run tests as Administrator" it could default to false. Then we can set it to true when needed. This is a huge issue when developing on a box with UAC enabled. If you ask why in the heck would you develop on …

  13. Support for Visual Studio's Profiler

    I want the same feature I get when I use MS Test based Unite Tests and the built in VS test runner. It has a "Create Performance Session" option for individual tests or groups of tests. There is a Visual Studio Profiler API. http://msdn.microsoft.com/en-us/library/cc667389.aspx If you haven't …

  14. Support for Localized Language

    No issues other than a double take or two for different word spellings. This is just a feature request there are no bugs I am aware of related to this. Being selfish I would like to just seem more variations of English supported but if you do that you should also add other countries based on the one…

  15. Support for Localized Language

    It would be nice if the langues where localized. For example for English there are at least 16 locals supported by Windows. [list] [*]Australia [*]Belize [*]Canada [*]Caribbean [*]India [*]Ireland [*]Jamaica [*]Malaysia [*]New Zealand [*]Philippines [*]Singapore [*]South Africa [*]Trin…

  16. Support for Visual Studio's Profiler

    With the built in MS Test Test Runner you can right click on a test in the test view list and select "Create Performance Session" that will run the test with the Profiler. This is very nice, but when we switch to NUnit we lost this and it would be nice if NCrunch could provide this same option in i…

  17. Add/Move "Allow parallel test execution" to the Project Level

    The allow parallel test execution setting on a solution is great. However it would be nice if at a project level we could turn it off, but leave other project on. What this would me that the test within the project can run in parallel with other tests from other projects, just not with tests with…