Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Performance Issues with NCrunch v2.6
Still no luck in getting it to happen here. Does it happen when you resize the window? Or just when you keep it open? Does there seem to be any pattern around the selection in the tests window (i.e. if you have a test selected with lots of trace output or not)? What happens if you try turning of…
21 Apr 2014 08:29 UTC
-
Performance Issues with NCrunch v2.6
Thanks for updating me on this. After your post, I went into a bit of a mad panic, which I often do for serious bug reports straight after a release, attempting to compare profiling runs of NCrunch 2.5 against 2.6. The conclusions I came up with were: - v2.6 memory usage seemed to be slightly l…
20 Apr 2014 09:03 UTC
-
Code Coverage % Metrics
Ok - I understand. I'm sorry, but in this case, code coverage suppression comments and Metrics Windows metrics exclusions are the only solutions I can suggest.
20 Apr 2014 00:32 UTC
-
Code Coverage % Metrics
No, you're right .. probably it wouldn't in the case of structures that are compiler generated (i.e. lambda, get/set properties). Other coverage tools also share this problem. Do you mind if I ask what you are trying to achieve by excluding this line from coverage?
20 Apr 2014 00:21 UTC
-
Code Coverage % Metrics
NCrunch will also respect the [ExcludeFromCodeCoverage] attribute, if you'd prefer to use this - [url=http://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.excludefromcodecoverageattribute.aspx]http://msdn.microsoft.com/en-us/library/system.diagnostics.codeanalysis.excludefromcodec…
20 Apr 2014 00:07 UTC
-
Code Coverage % Metrics
Hi, thanks for posting! The best way to do this is to make use of [url=http://www.ncrunch.net/documentation/concepts_code-coverage-suppression]code coverage suppression comments[/url]. If the the class resides within a test project, it may also be worthwhile to simply exclude the whole project…
19 Apr 2014 23:40 UTC
-
Performance Issues with NCrunch v2.6
Hi, thanks for sharing this issue. This definitely sounds like a very serious memory leak. It hasn't shown up in any of my immediate tests, so I suspect there may be something in your environment that triggers it or makes it more severe. I'm wondering if you might be able to help by answering…
19 Apr 2014 13:20 UTC
-
NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution
This problem seems to be related to how the template shares the App.xaml file between projects in the solution. Visual Studio has slightly different build logic compared to MSBuild when processing a solution as a whole, so I can only assume the difference is allowing it to work artificially. Thi…
18 Apr 2014 00:04 UTC
-
Project Build Failure with T4 template with partial class and interface
Hi, Thanks for sharing this issue. NCrunch itself doesn't care about the language structure being used here - as far as NCrunch is concerned, it's just a call to MSBuild to sort it out. I think that most likely whats happening here is that there is a dependency that hasn't been properly capture…
17 Apr 2014 23:15 UTC
-
NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution
Hi, Can you confirm 100% that these projects are building correctly for you inside Visual Studio? When creating a solution using the template you've mentioned, I seem to receive the same error completely regardless of whether NCrunch is being used or not. I think there maybe something more seri…
17 Apr 2014 13:31 UTC
-
GetHashCode Nrunch vs Nunit different values
Hi, It seems as though your test project has been designed to only work with an X64 architecture. So to me it makes sense for you to change the processor architecture in the build configuration for this project to X64. In this way, there's no way the project can be loaded in an X86 architectu…
17 Apr 2014 13:02 UTC
-
Run issue with async method
Absolutely. The new error is: Expected a return type of 'System.Threading.Tasks.Task' on an async method
17 Apr 2014 05:12 UTC
-
Run issue with async method
Hi, Thanks for sharing this issue. NCrunch's MSTest runner doesn't support execution of 'async void' tests, because the behaviour is itself modeled off MSTest, which won't recognise 'async void' tests. The error message is bad, and should be improved. I'll make an adjustment so that it is …
17 Apr 2014 04:25 UTC
-
Build Error with JustMock
Thanks, I think I've figured this one out. NCrunch isn't relocating/adjusting this reference because it exists under 'Program Files', which is usually referenced via the GAC or through absolute file path references. The way this reference has been introduced would create problems if the projec…
17 Apr 2014 04:13 UTC
-
Build Error with JustMock
It looks like NCrunch's translation for this reference seems to be failing. I'm not sure why this is the case - hopefully there isn't some kind of override being put in place by JustMock. I'm wondering if you could check the following: - If you right-click on the failed build in the Tests Windo…
17 Apr 2014 02:49 UTC
-
Build Error with JustMock
Ok - I think we'll need to get a capture of the build output for this project. Under your global configuration settings, set the 'Log verbosity' setting to 'Detailed', then reset the engine and find the failed build task in the queue. The output text should contain a wealth of MSBuild informatio…
17 Apr 2014 02:32 UTC
-
Build Error with JustMock
Can you confirm where you see the error? This is important as I need to know whether the error is appearing at build time or somewhere else.
17 Apr 2014 02:24 UTC
-
Build Error with JustMock
Hi, Thanks for sharing this issue. This looks very much like an assembly reference build error. Does the project build correctly? If not, I don't think this error is related to the instructions on the JustMock page, or the JustMock profiler itself. Can you give me more context around this e…
17 Apr 2014 02:16 UTC
-
NCrunch Failing to comple .Windows & .WindowsPhone projects inside Universal Application solution
Hi Alan, It looks like something is wrong here with the OutputPath or AssemblyName property inside the project's build XML. Were these projects created from the standard PCL template in Visual Studio? If you can get me a copy/paste of the active set of properties inside the project build XML,…
16 Apr 2014 22:55 UTC
-
StackTrace-Window height too short
The test list will always cap out at 6 items before the scrollbar will appear. This is by design, as mammoth popups aren't always a welcome sight. The fix will be for the exception popup only, which will be sized correctly without scrollbar for less than 12 items. The exception popup needs more s…
16 Apr 2014 12:59 UTC