Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. 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…

  2. 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…

  3. 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…

  4. 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…

  5. 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…

  6. 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…

  7. "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 …

  8. 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…

  9. Option to change font size of Tests window output

    Hi Yang, Thanks, this makes sense. I'll put it on the backlog :) Cheers, Remco

  10. 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…

  11. 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…

  12. "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…

  13. "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…

  14. 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…

  15. Shortcut for rerunning "last session".

    Hi, This makes sense. Thanks for the suggestion. I'll add it to the backlog.

  16. 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…

  17. 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…

  18. 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…

  19. 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…

  20. 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…