Build/Test Issues

Does NCrunch support background compiling while coding?

Started by THenrich on 2,357 views

Does NCrunch support background compiling while coding? Meaning the solution is built continuously.
NCrunch itself performs background compiling so that it can run your tests. You'll see tasks for this appear in the Processing Queue while you work.

Or are you asking about whether NCrunch is able to deal with a different tool (i.e. VS) running background compilation while it works?
Remco wrote:NCrunch itself performs background compiling so that it can run your tests. You'll see tasks for this appear in the Processing Queue while you work.

Or are you asking about whether NCrunch is able to deal with a different tool (i.e. VS) running background compilation while it works?


Yes I was asking if it can compile for Visual Studio. I don't have any tests.
THenrich wrote:
Yes I was asking if it can compile for Visual Studio. I don't have any tests.


Correct. Background compilation and reporting of the compile results is an important piece of NCrunch's infrastructure.

Without tests in your solution, you will be missing out on around 95% of the product's features though.
Remco wrote:
THenrich wrote:
Yes I was asking if it can compile for Visual Studio. I don't have any tests.


Correct. Background compilation and reporting of the compile results is an important piece of NCrunch's infrastructure.

Without tests in your solution, you will be missing out on around 95% of the product's features though.


I understand the tool is for testing but if it's also compiling continuously, it's a time saver for me.
However, I noticed that it compiles NCrunch's versions of the assemblies (in c:\Users\...) instead of the actual assemblies. Can it also compile the solution's assemblies?
THenrich wrote:
I understand the tool is for testing but if it's also compiling continuously, it's a time saver for me.
However, I noticed that it compiles NCrunch's versions of the assemblies (in c:\Users\...) instead of the actual assemblies. Can it also compile the solution's assemblies?


The design of NCrunch is to sandbox everything and try to isolate it as much as possible from the foreground solution. So I guess the short answer is no. The assemblies built by NCrunch are intended to be fairly transient and aren't suitable for things like deploying an application.

Post a reply

Log in to reply.