Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Global use of isolated attribute
Hi Peter, Do correct me if my understanding is incorrect, but I believe you're trying to come up with a mechanical solution that will ensure each test is regularly run in an isolated process away from other tests that might influence its execution via state within the application domain? Unfor…
28 May 2014 12:32 UTC
-
NCrunch fails on tests that resharper passes using xUnit
Hi, thanks for posting! It can be difficult to completely understand everything that is happening in these tests with only the test code available, but I would speculate that these tests are making assumptions about the structure of the solution they are working in - perhaps they are referencing …
28 May 2014 12:24 UTC
-
Global use of isolated attribute
Hi Peter, It's possible to apply the IsolatedAttribute at assembly-level (i.e. in the AssemblyInfo.cs file), in which case it will be applied to all fixtures in the assembly. This isn't exactly what you're asking for, as the isolation will only be applied to fixture (not test), but it's a step c…
27 May 2014 22:38 UTC
-
Incompatibility with Cudafy.Net
Hi David, You're correct in your understanding that the right way to solve this problem is to move the code into an assembly with the instrumentation turned off. Even with code coverage suppression comments, NCrunch will still place some limited instrumentation into each method. I see no reas…
27 May 2014 10:52 UTC
-
build fail
Great stuff. I'm sorry about the lack of debugging information. If you need to see this in future, you can find it by setting your 'Log verbosity' (global config setting) to 'Detailed', then inspecting the output of the build task inside the NCrunch Processing Queue.
24 May 2014 01:11 UTC
-
build fail
Thanks! I've managed to take a deeper look at this. I think we're getting closer to figuring out what's happening here. I apologise as the way in which NCrunch was calling into this target is slightly different to what I had expected. When NCrunch invokes MSBuild to build the project, it sets …
23 May 2014 23:40 UTC
-
Xunit 2 quirks
[quote=jmackay;5937]Would you be able to group them by the test name, or even use an ncrunch attribute to group them? I too have tests that have like 10 params each so they take up quite a bit of space :)[/quote] Sorry, but there isn't really much that can be done to change this :( The Proj…
23 May 2014 23:30 UTC
-
Outdated/incorrect coverage markers.
Thanks for sharing this, along with the bug report. I've seen this before, but only while using distributed processing. My theory is that somehow there is a mapping synchronisation problem that can appear between the grid node and the client. It's rare, and resetting the engine usually gets r…
23 May 2014 21:52 UTC
-
ncrunch from commandline
Not at the moment. There is a feature request for this that you're welcome to vote for though - [url=http://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/5749303-standalone-executable-version-for-builds-etc]http://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/5…
23 May 2014 21:50 UTC
-
build fail
Thanks! The report didn't come through unfortunately, I'm not sure what happened there. You're welcome to save it to file and submit it through [url=https://www.ncrunch.net/Support/Contact]the contact form[/url] if you like. Something else I thought might be worth looking at is the Project decl…
23 May 2014 07:32 UTC
-
build fail
This is very, very strange. Is there any chance you could submit a bug report right after this build has failed? Maybe there'll be something in the report that can tell us what's happened. Can you give me any more detail about the nature of your build customisations? Do you notice this problem…
23 May 2014 00:31 UTC
-
build fail
Normally NCrunch will pass the 'NCrunchPrepareForBuild' as a parameter to MSBuild. If you try doing this using the command line, does it work for you? msbuild.exe /t:NCrunchPrepareForBuild
22 May 2014 22:00 UTC
-
build fail
Hi James, NCrunch automatically adds the 'NCrunchPrepareForBuild' target to the bottom of the project file inside its workspace before it builds the project. If MSBuild is complaining about this being missing, then probably there is something with the syntax of your project file that NCrunch isn…
22 May 2014 09:13 UTC
-
NCrunch ignores xUnit Theory if it is the only test in a file
[quote=SeanKilleen;5922]e [Theory] is declared in xunit.extensions which I presume is a separate DLL because it's a separate Nuget package. Could I please suggest that NCrunch consider expanding their search for attributes to within xunit and xunit.extensions? This would solve the problem, and br…
21 May 2014 23:04 UTC
-
NCrunch ignores xUnit Theory if it is the only test in a file
Hi Sean, Can you share the declaration of your theory? In order for NCrunch to detect that Xunit is being used by a test project, there must be a reference to at least one Xunit attribute. If you are using attributes that descend from the Xunit attributes and are not declared inside xunit.dll…
21 May 2014 21:36 UTC
-
Build error in VS2010 with Async CTP
Thanks for sharing your experiences here - I'm certain that other people will also find them useful. This isn't the first time I've seen an MS library that will build using VS but not using the command line - I hope this isn't demonstrating a hole in MS testing.
20 May 2014 21:34 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Yes, it does. NCrunch does this already anyway, as it needs a hash for every file which forms part of the solution. Experience suggests that this hashing is very fast and you're unlikely to notice any loss in performance, unless you have files included in your projects running into the GB (which w…
20 May 2014 10:31 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Great to hear! The best logging available is the one you've already captured - this is where the FileSystemWatcher triggers NCrunch and NCrunch basically just dumps the filename to the log after cross checking it with the files added to the project. I don't think there's much more we can learn f…
20 May 2014 08:48 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Ok - I have a build here that you might want to try: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.msi]http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.zip]http://downloads.ncrunch.net/NCrunc…
20 May 2014 03:26 UTC
-
Project built system doesn’t seem to respect build-to-order?
I don't really use a specific tool for BDD myself - I just kind of took what I liked from its approach and applied this in my daily work. I don't think it's something that needs specialised tooling to work with, although NCrunch does support MSpec and SpecFlow, both of which I believe were built wi…
20 May 2014 00:38 UTC