Forum member

CourtJesterBob

13 posts

Posts by CourtJesterBob

  1. Testlocation with DeploymentItem inconsistent

    I am now having this issue consistently in my solution. I have several tests marked with a [DeploymentItem(@'TestData\Status.xml")]. When I open the solution or choose to Resynchronise, rebuild, and rerun all tests, all of them fail telling me they cannot find the file located at ...\UnitTests\bin…

  2. Exclusively uses attribute seems to not be working

    So, I monitored the Processing Queue window like you suggested. I chose to , Resynchronise, rebuild, and rerun all tests. I have the project marked with the exclusively uses attribute at the assembly level. During processing I can see one main row, with a stopwatch icon that says processing and…

  3. Exclusively uses attribute seems to not be working

    I tried re-running all of my tests as you suggested. I couldn't figure out how to show only the executing tests. I also don't know how to recognize which test is running. I see multiple tests with the stopwatch icon and their status says "Running (Failed last run), Prioritised". I have a screens…

  4. Exclusively uses attribute seems to not be working

    Yes, when I installed VS2013 I installed 2.7.0.5 of NCrunch because I had only installed the 2012 version. The tests windows does indeed show the correct value on all of the tests. I am not using distributed processing, that I know of.

  5. Exclusively uses attribute seems to not be working

    I just recently upgraded to Visual Studio 2013 and the version of NCrunch for 2013. I have a solution with several projects of "integration" tests that use a database. I had previously added an assembly attribute to each of these project to set the ExclusivelyUses property to that all Integratio…

  6. Assembly level attributes

    I see in the documentation that I can use the ExclusivelyUses attribute at the assembly level, but I don't see anywhere that shows exactly how to do this. I know I can decorate a test or test fixture with this, but if I have many text fixtures in my project with multiple tests in each fixture and I…

  7. Integration testing configuration question

    That is exactly what I am trying to do. All of my integration tests are in the same project/assembly, or at least I only want one security context spun up for each project/assembly. Currently, I have each unity test marked with the ExclusivelyUsesAttribute, but I will move that up to the assembl…

  8. Integration testing configuration question

    So, I have been using NCrunch for a while now, and I liked it so much I had to buy it and I am now trying to get my company to get it for every developer. My only issue is that I am not sure exactly the best way to configure NCrunch to do what I want. NCrunch is working flawlessly for unit tes…

  9. Project won't build after upgrade

    I have a solution with two projects in it, a class library and a unit test project. It builds with 1.45.0.28, but not with 1.46. I have also recently upgraded to Update #3 of Visual Studio 2012. I followed your suggestions in a similar post regarding compatibility mode and logging verbosity and n…

  10. Coverage information for Automatic Properties

    Thanks for the response. That makes complete sense. I was getting worried about them because I have some project with large numbers of automatic properties and very low coverage. But, if those lines are not included in the stats, that means that if there are only two lines of "compiled code" an…

  11. Coverage information for Automatic Properties

    I have several classes that are implementing interfaces where the properties in the interface and in the concrete class are automatic properties. There don't seem to be any code coverage for these properties. These properties are in fact covered and they seem to be contributing to the Code Cover…

  12. Excessive shadow copies of solution assemblies

    So, we have done some more investigation and here is what we have found. First, we turned off NCrunch for a few days and none of our three team members had any issues. Next, we turned NCrunch back on and monitored it. It finally happened again to one of our developers yesterday and he remembe…

  13. Excessive shadow copies of solution assemblies

    We have been using nCrunch for a few months now, starting back with VS11 and now with RC2012 and just last Friday we noticed that nCrunch is copying all the .dll, .pdb, and .xml files, essentially all of the output from all of our projects in the assembly into many of the projects in my solution as …