Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
When is ncrunch cleaning its working directory?
NCrunch will clean out directories in the following situations: - When a project within the solution is changed (must be a .proj file, not just one of the code files in the project, and all workspaces related to this project will be removed and replaced as needed) - When a project is removed fro…
11 Jun 2013 09:52 UTC
-
NCrunch Fails when running tests using async / await and tcp connections
Thanks this gives us some good information to work with. I think this issue is being caused by the code under test [url=http://www.ncrunch.net/documentation/considerations-and-constraints_multi-threaded-tests]overstepping the test boundaries with multithreading[/url]. I haven't seen a multithreadi…
07 Jun 2013 11:58 UTC
-
NCrunch Fails when running tests using async / await and tcp connections
Hi Michael - Thanks for sharing this issue. Socket/TCP/SSL tests are fairly routine for NCrunch, so I suspect that the devil here is in the detail of the code running under test. By far the most common cause of test process termination is stack overflows. My first thought is that there may b…
07 Jun 2013 10:27 UTC
-
Avoid creation of the *.ncrunchsolution.* files
Hi - Thanks for further confirming this issue - it's on the backlog to be resolved in a future maintenance release. The .user file contains certain preferences such as the alignment of the splitter in the Tests Window, click state of the toolbar buttons, etc. The actual docking of the windows…
07 Jun 2013 10:23 UTC
-
showing underscores as spaces in tests window
Hi 4rchie, NCrunch does this already for MSpec, where the underscores are a standard for spacing. Unfortunately, doing it across the board would likely require a configuration option, and it does go against standard behaviour for many frameworks. I'll have a think about what may be the best app…
06 Jun 2013 22:36 UTC
-
Support colored console output in Tests window
Hi Yang, Sorry I gave this a try, although it looks as though the component is escaping the RTF sequences, preventing colours from showing. It looks as though a functional change will be needed to make this work. At the moment, the rich text box used to show the trace output has a number of p…
06 Jun 2013 03:45 UTC
-
"Run x tests" pending but engine is idle?
Sorry, this has me quite confused as we've exhausted every logical reason for why the queue would refuse to pick up more work. This may be a tough issue to troubleshoot. Would you be able to help by answering the following questions? - Which engine mode are you typically using while this issue …
05 Jun 2013 23:36 UTC
-
Support colored console output in Tests window
Hi Yang, How are you controlling the colour of your logged output? Is this done using ANSI colours? NCrunch uses a rich text editor for the test window output, which should respond to RTF notation. You might find that if you convert the colour codes into this format that the rich text editor…
05 Jun 2013 23:21 UTC
-
Option to change font size of Tests window output
Hi Yang, Thanks, this makes sense. I'll put it on the backlog :) Cheers, Remco
05 Jun 2013 23:18 UTC
-
Post Build Event Failing
It's tough to give concrete advice without delving into the source code, but generally you should try to avoid loading assemblies into the application domain dynamically from the current directory. Instead, it may be better if there was a way to configure the search path for the native binaries (wh…
05 Jun 2013 23:18 UTC
-
Unit test project with only xUnit.net theories in it is not picked up
Hi Daniel - This is a limitation inherent in the Gallio adapter NCrunch is using to find the Xunit tests. The adapter only fully activates if there is a reference somewhere to xunit.dll. You may be able to work around this problem by changing the 'Framework utilisation type for Xunit' in your…
05 Jun 2013 23:08 UTC
-
"Run x tests" pending but engine is idle?
Looking through the log file, it shows that there are 46 tests still queued for execution, with no tasks that the engine is able to process. My first thought is that there is something about these tests that make them unapproachable by the engine. Is there anything different about them? For exa…
05 Jun 2013 11:40 UTC
-
"Run x tests" pending but engine is idle?
If the tests are listed in the processing queue as pending, and nothing else is processing and your builds are all passing, then this is probably a bug. The next time you see this, can you submit a bug report? There may be a clue in the log file as to what is causing it. Also, does manually r…
05 Jun 2013 09:09 UTC
-
Post Build Event Failing
Hi Martin, Thanks for sending through the sample solution. I've managed to get this to work by turning on the 'Copy referenced assemblies to workspace' option for ALL the projects in the solution. It looks as though the issue was that ALL dependencies needed to exist in the build output directo…
05 Jun 2013 01:26 UTC
-
Shortcut for rerunning "last session".
Hi, This makes sense. Thanks for the suggestion. I'll add it to the backlog.
04 Jun 2013 11:21 UTC
-
Post Build Event Failing
My guess at the moment is that the post build event is copying the files to the build output directory of GitClassLibrary, although either the test code or the code under test is trying to find the files in the build output directory of TestProject. When running the tests outside of NCrunch, both o…
04 Jun 2013 09:22 UTC
-
Post Build Event Failing
Great, that's progress! I'm wondering if the DllNotFoundException is being caused by libgit2sharp making [url=http://www.ncrunch.net/documentation/considerations-and-constraints_assembly-colocation-assumptions]assembly colocation assumptions[/url]. A quick fix to this may be to turn on the [url=ht…
03 Jun 2013 03:57 UTC
-
ncrunch can' t build at first time.
Thanks for sending through the bug report. I'm wondering if you'd be able to try the following steps: 1. Reinstall NCrunch: Run the uninstaller, ensure that the directory at "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Remco Software" and everything in it is remove…
02 Jun 2013 22:50 UTC
-
Post Build Event Failing
Hi, thanks for posting! My first thought is that the post build event is [url=http://www.ncrunch.net/documentation/considerations-and-constraints_implicit-file-dependencies]trying to copy files that don't exist in the NCrunch workspace[/url]. This is most likely because the files aren't referenc…
02 Jun 2013 22:41 UTC
-
Strange behaviour -- installation corrupt?
Hi, thanks for sharing this issue! The complicated thing with developing plugins for Visual Studio is that they are different pieces of software developed in isolation of each other, and it's possible that they may make use of different versions of the same component - causing clashing within the…
01 Jun 2013 00:55 UTC