Forum member

JamesGrafton

4 posts

Posts by JamesGrafton

  1. Debuging a test - watch issue

    Hello, Thanks for getting back to me so quickly. [quote][h]var mappedData = new Mock<IMappedData>(); // mock setup[/h] var mappingApplicator = new MappingApplicator(_countryResolver.Object); mappingApplicator.Verify(new List<IMappedData> { mappedData.Object, mappedData.Object });[/quo…

  2. Debuging a test - watch issue

    Hello, I've got a .Net 4.6.1 project that's not doing anything special. I'm using Moq 4.7.142 and xUnit 2.3.1. No matter how I debug the test, when I hit a breakpoint, i'm not able to view the value of a variable. When I add a watch, I get: "error CS0103: The name 'mappedData' does not exis…

  3. error CS0103: the name '' does not exist in the current context

    Unfortunately I can't as it's another company's source code. Is there a way for me to find out what's missing? Thanks, James

  4. error CS0103: the name '' does not exist in the current context

    I'm running ncrunch on a set of tests using xunit, with .Net framework 4.6.1 and nCrunch version 2.22.0.1 When I debug, if I add a watch to a variable I get an error in the format [b]"error CS0103: the name '<variable>' does not exist in the current context"[/b] If I run the test with VS/Resha…