Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Project built system doesn’t seem to respect build-to-order?
I think your choice in framework carries a great deal of personal preference. Each of the 5 major frameworks used by NCrunch have their strong points. Generally I'd suggest that if you're already using a test framework that you're familiar with, then just stick with it. Xunit isn't a bad test f…
19 May 2014 21:29 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Actually, scratch that. There may be a way I can fix this ... Right now NCrunch has a file content check in place that already deals with source files (*.cs, etc). This is because source files need to be loaded into memory anyway, so it's basically a free check to see if the file has actually c…
19 May 2014 12:22 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Hi Daniel, The following is an extract from the code NCrunch is using to watch the files: var watcher = new FileSystemWatcher(directoryPath.AbsolutePath); watcher.Changed += watcherChanged; watcher.Deleted += watcherChanged; watcher.Renamed += watcherChanged; watcher.Created += watcherChan…
19 May 2014 12:04 UTC
-
Build error in VS2010 with Async CTP
I think something that would be useful here in figuring this out is to try building the project NCrunch has created inside its workspace. After NCrunch fails to build your project, right click on the failed project in the Tests Window, then choose Advanced->Browse to workspace. This will open …
17 May 2014 21:17 UTC
-
Xunit 2 quirks
Great, thanks for confirming this! Unfortunately the way that data is provided from the test adapters is interpreted as a flat list of tests. This is done to try to keep coupling with the test frameworks down as much as possible, as every time the frameworks are updated, there is a risk that NCr…
17 May 2014 21:10 UTC
-
Sluggish Performance
I agree that it's probably worth investing your performance issues in combination with the other issues you're experiencing in your testing environment. It's also important though to establish where the loss in performance is originating from, as this may have an impact on how you work with this …
17 May 2014 06:20 UTC
-
Project built system doesn’t seem to respect build-to-order?
I find it quite remarkable how similar your situation is to the NCrunch codebase itself. Consider that NCrunch itself is hosted inside Visual Studio (which like MS Word, is a largely unmanaged, COM heavy, aging beast). As with NCrunch, the most valuable tests in your situation involve the interact…
17 May 2014 06:07 UTC
-
Build error in VS2010 with Async CTP
Hi, thanks for sharing the steps to reproduce. To try and get this issue to show, I've set up a VM with VS2010 SP1 installed, then installed Async CTP Version 3. I then created a class library project with a reference to NUnit and the AsyncCtpLibrary, using the code you've provided above. U…
17 May 2014 03:34 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Hi, thanks for sending through the logs. There's something interesting in here - did you see this? 14:36:34,1425468 0.0000057 System 4 CreateFileMapping C:\VS2010\EXAPTplus-trunk\Exapt.ExaptPlus.Icons\OtherMachiningTab\ReduceToolpath_large.png SUCCESS SyncType: SyncTypeOther 14:36:34,1425573 …
16 May 2014 22:49 UTC
-
xUnit 2.0 beta support
Great, thanks!
16 May 2014 22:39 UTC
-
Project built system doesn’t seem to respect build-to-order?
Hi, sorry that this took so much of your time. Large customised setups can have a price tag attached to an NCrunch implementation. We try to make this easy .. but it isn't always easy to foresee the state of projects people are working on :( NCrunch is quite well suited to integration testing, …
16 May 2014 22:36 UTC
-
xUnit 2.0 beta support
Hi Marcin - There's an early build of NCrunch v2.8 available containing support for the new .2650 xunit build. Initial feedback on this build has been very positive. You're welcome to take it for a spin if you like: [url=http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.2.msi]http://…
16 May 2014 22:28 UTC
-
Sluggish Performance
Hi, thanks for posting! Staying off the UI thread is a high priority for NCrunch. Your experience is not normal - something is wrong here. Can you share any more details about your IDE setup? Are you using any other 3rd party VS plugins (such as refactoring tools)? Is this a particularly la…
16 May 2014 22:24 UTC
-
Wizard > Cancel = Start NCrunch
Hi, thanks for the feedback here! There are long term plans to change the wizard, so there will be 3 options: 1. Go through the wizard, set up the configuration 2. Use last used settings 3. Abort, don't start the engine
16 May 2014 22:18 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Interesting. That was a good hunch! The virus scanner is opening up and writing the files back to disk. To be honest, it's a little beyond my understanding as to why the scanner would choose to write a file to disk (shouldn't it just read?). But basically, there's no way for NCrunch to tell wh…
16 May 2014 11:12 UTC
-
NCrunch stuck in Processing/Reprocessing loop
Absolutely - looking at the log is a really, really good idea. In your global configuration, turn on the 'Log to output window' option. Set the 'Log Verbosity' to 'Detailed'. Then reset the NCrunch engine. If you open up the VS output window, then choose 'NCrunch Output' in the dropdown bo…
16 May 2014 00:56 UTC
-
NCrunch stuck in Processing/Reprocessing loop
This is a build loop. Usually it's caused by the NCrunch's build of the workspaced project reaching out of the workspace and touching files in the foreground solution. This involves the following sequence: 1. NCrunch builds a workspace for the project in a separate area of your hard drive, copy…
15 May 2014 10:06 UTC
-
InvalidProjectFileException - regex cannot be evaluated
Excellent! Enjoy the product! :)
15 May 2014 01:16 UTC
-
Test duration inconsistency
Hi, Thanks for sharing this. Without being able to see the code for this test, it's difficult to know why the execution time is higher, but if you have a number of loops executing in managed code then it's quite possible that this is caused by the weight of NCrunch's instrumentation. As wit…
14 May 2014 10:31 UTC
-
NCrunch fails unit test where MSTest passes
Hi Rainer - NCrunch's MSTest support is emulated rather than integrated, so the properties available on the TestContext need to be declared by NCrunch specifically in order for them to be available to your tests. It looks like you've managed to find a property that hasn't been set (and should …
13 May 2014 23:13 UTC