Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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…
22 Dec 2013 23:43 UTC
-
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…
22 Dec 2013 23:20 UTC
-
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?
22 Dec 2013 23:10 UTC
-
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…
22 Dec 2013 23:09 UTC
-
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. …
22 Dec 2013 22:44 UTC
-
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…
21 Dec 2013 22:34 UTC
-
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…
21 Dec 2013 11:49 UTC
-
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…
21 Dec 2013 11:44 UTC
-
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 …
20 Dec 2013 23:12 UTC
-
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…
20 Dec 2013 23:08 UTC
-
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
20 Dec 2013 23:06 UTC
-
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…
20 Dec 2013 05:07 UTC
-
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.…
20 Dec 2013 02:01 UTC
-
Incorrect coverage detection with NUnit TestCaseSource
Great stuff! Good work on the refactoring :) Cheers, Remco
19 Dec 2013 02:49 UTC
-
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 …
19 Dec 2013 02:13 UTC
-
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 …
19 Dec 2013 00:18 UTC
-
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 Dec 2013 23:31 UTC
-
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…
17 Dec 2013 05:43 UTC
-
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…
16 Dec 2013 23:48 UTC
-
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.
16 Dec 2013 23:27 UTC