Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. File not copying

    Argh! Worst possible scenario. I suspect this is sequence related then. It is probably dependent upon other tests that have been executed before it in the NCrunch pipeline. I suggest parking the issue until it happens again. There is a high probability that it will come back. If it does, plea…

  2. File not copying

    Ok, so somehow, NCrunch isn't detecting this attribute. Can you confirm whether the namespace for the attribute is Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute? Also, is there any chance you could submit a bug report right after you've run the test? Perhaps the log file wi…

  3. File not copying

    Sorry - I thought I'd also just confirm where the DeploymentItem attribute is declared in your code. You say that this is in the fixture itself - in this do you mean the class declared with [TestClass]? Is there any inheritance involved?

  4. File not copying

    Is the path SECFilingsTool.Tests\citationinfo.js valid when applied relative to the directory of your .sln file? I'm just checking this now with my test solution and it still seems to work with NCrunch... hopefully we can narrow down the point of difference. Do you have many tests that are relyi…

  5. File not copying

    Right. I think we're getting closer here. MSTest in VS2012 has a legacy mode that it activates when making use of a testsettings file. The testsettings file allows the test adapter to perform its own shadow copying, creating the 'Deploy_***** DATE\Out\' directories that are used to run tests. …

  6. File not copying

    I've built a small test environment making use of a file in the same way as above, but strangely, it seems to work without problems for me when attempting to find the file in the same directory as the test assembly. Would you be able to show me how you are looking for this file? I'm wondering if t…

  7. File not copying

    Hi, thanks for reporting this issue. Can I just confirm a few things about your setup? This will help me to reproduce and hopefully solve the issue: - Is this .js file included in your test project, or a project that is referenced by your test project? - Does your code expect to find the fil…

  8. 2.2.0.1 Grid build on projects with reference to System.EnterpriseServices.dll

    Wow, I'm really sorry about that. 2.2.0.2 was released about 12 hours after the 2.2.0.1 build went out. A user reported a file mapping issue with 2.2.0.1 so a new revision was put up to solve specifically this problem. It was a very small change and not enough to warrant all the attention of a wh…

  9. 2.2.0.1 Grid build on projects with reference to System.EnterpriseServices.dll

    Hi, thanks for sharing this issue and submitting the bug report. I'm in the process of looking at this problem at the moment, as it's also been reported by others. Is your solution hosted on a drive other than C:\ ? If so, does moving it to C:\ make any difference here? Also, where is the …

  10. SpecFlow with SpecRun - Build doesn't work in NCrunch

    Hi Dan - Thanks for letting me know about this. I wasn't aware that SpecFlow had its own custom test framework (SpecRun) available as an option .. as most people seem to use it with either NUnit or MSTest. No plans exist at the moment to add support for this. I'll add it to the supported frame…

  11. MSpec 0.6 dropped Gallio support

    Hi, This shouldn't be a problem. NCrunch integrates direct with MSpec through its own custom built adapter, so life should continue as usual :) Cheers, Remco

  12. IProjectGlobalPropertiesProvider

    Ahh - I understand. So you have a custom VS package that modifies the project properties in the IDE memory. I'm afraid there's no way that NCrunch will be able to pick up such a property. NCrunch integrates with MSBuild, running it in processes spawned outside the IDE. In a similar way to what…

  13. IProjectGlobalPropertiesProvider

    Hi, thanks for posting! Can you share any information about when these properties are set within the MSBuild life cycle? Is this being handled by a custom built MSBuild task? Something that often needs to be done with NCrunch is to include MSBuild task .dlls using the [url=http://www.ncrunch.…

  14. Incorrect coverage detection with NUnit TestCaseSource

    Great stuff! Good work on the refactoring :) Cheers, Remco

  15. Incorrect coverage detection with NUnit TestCaseSource

    Hi, thanks for sharing this issue! The only thing that springs to mind is that tests re-using the same TestCaseSource have a higher chance of being described/generated under the same name as each other. Do the tests show uniquely inside the NCrunch Tests Window? Because NCrunch needs a certain …

  16. File Change Dependancy

    Hi, thanks for posting! NCrunch will automatically track changes to any file included in any of your projects. If you include the .sql file in a project being watched by NCrunch (for example, in the .proj XML), it will automatically detect when you make changes to the file in the IDE and will …

  17. Issue with TypeCatalog only under NCrunch

    Hi, Thanks for sharing this issue. This looks to be related to the .NET version of the task runner NCrunch is using to execute the test. It appears that Microsoft introduced a fix for the TypeCatalog class in v4.5 of the .NET framework. This means that any environment executing this code wit…

  18. Out-of-date code and project pick up

    I'm not sure at the moment - this is something that has me very confused. The only thing I can think of is that there is some configuration or toolset difference that is allowing your teammate's IDE to recognise the project differently to normal. In the broader scope though, it probably won't make…

  19. Out-of-date code and project pick up

    I'm afraid I have only bad news on this one. There are some big differences in the way that Azure projects handle project interdependencies when compared with other project types. I could provide a fix that would allow NCrunch to detect the project and attempt to load it, but it won't get much f…

  20. Out-of-date code and project pick up

    Actually - Cancel that. I've managed to reproduce the issue. Will have an update for you soon.