Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7128909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:11:15+00:00 2026-05-28T11:11:15+00:00

When working on larger projects, it can take at least 10 seconds to compile

  • 0

When working on larger projects, it can take at least 10 seconds to compile and start the unit test framework. Are there effective ways to reduce the feedback loop time? I intend to make just small changes in one unit test class and one other class between test runs.

I considered some other approaches. I do not see any way to compile and run a single test class and dependencies. I could increase the number of projects in the solution so that each assembly takes less time to compile, but that causes other issues. NCrunch appears to reduce the need to manually run tests, but it still compiles full assemblies.

Clarification:
The 10 seconds included time to compile the unit test class and the class under test. My issue with NCrunch may have been because of a less powerful computer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:11:15+00:00Added an answer on May 28, 2026 at 11:11 am

    You’d have to put each test class in a separate assembly – an assembly is effectively the unit of compilation. If it’s taking 10 seconds to recompile after just a change to a test class, that suggests that either you’ve got too many tests in one assembly, or you’ve got a very slow machine. It could well be that getting a better machine (or improving the existing one with more memory or an SSD) is the best way forward.

    I use NCrunch myself, and although it still compiles full assemblies, the fact that it’s doing it in the background means that usually by the time I’ve taken a mental breath, the tests have rebuilt and are running. NCrunch works well if you’ve got multiple processors and a ramdisk, by the way – you can set where it builds, and also how many processors it can use.

    If you’ve only considered NCrunch (or The Mighty Moose etc – similar stuff) but not actually tried it, you should give it a go before assuming it won’t be fast enough for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I prefer to use OOP in large scale projects like the one I'm working
I am working on a large C++ project in Visual Studio 2008, and there
I am using .NET Framework and C# and working on a large project. The
I have been working on a simple binary search tree for a larger project.
I'm working with a large solution (90+ projects). When I build it, if the
I'm working on a project where there's quite a lot of jQuery going on.
I'm currently working on a JavaScript project that's a little larger than what I'm
When I'm working on large projects, I always tend to end up with about
I'm working on an old project from an other developer, and can't get something
We are working on a large project with a measure of new/modified GUI functionality.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.