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 86241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:12:55+00:00 2026-05-10T22:12:55+00:00

I’ve got about 100 unit tests and with a coverage of %20, which I’m

  • 0

I’ve got about 100 unit tests and with a coverage of %20, which I’m trying to increase the coverage and also this is a project in development so keep adding new tests.

Currently running my tests after every build is not feasible they takes about 2 moments.

Test Includes:

  • File read from the test folders (data-driven style to simulate some HTTP stuff)
  • Doing actual HTTP requests to a local web-server (this is a huge pain to mock, so I won’t)
  • Not all of them unit-tests but there are also quite complicated Multithreaded classes which need to be tested and I do test the overall behaviour of the test. Which can be considered as Functional Testing but need to be run every time as well.

Most of the functionality requires reading HTTP, doing TCP etc. I can’t change them because that’s the whole idea of project if I change these tests it will be pointless to test stuff.

Also I don’t think I have the fastest tools to run unit tests. My current setup uses VS TS with Gallio and nUnit as framework. I think VS TS + Gallio is a bit slower than others as well.

What would you recommend me to fix this problem? I want to run unit-tests after every little bit changes btu currently this problem is interrupting my flow.

Further Clarification Edit:

Code is highly coupled! Unfortunately and changing is like a huge refatoring process. And there is a chicken egg syndrome in it where I need unit tests to refactor such a big code but I can’t have more unit tests if I don’t refactor it 🙂

Highly coupled code doesn’t allow me to split tests into smaller chunks. Also I don’t test private stuff, it’s personal choice, which allow me to develop so much faster and still gain a large amount of benefit.

And I can confirm that all unit tests (with proper isolation) quite fast actually, and I don’t have a performance problem with them.


Further Clarification:

Code is highly coupled! Unfortunately and changing is like a huge refatoring process. And there is a chicken egg syndrome in it where I need unit tests to refactor such a big code but I can’t have more unit tests if I don’t refactor it 🙂

Highly coupled code doesn’t allow me to split tests into smaller chunks. Also I don’t test private stuff, it’s personal choice, which allow me to develop so much faster and still gain a large amount of benefit.

And I can confirm that all unit tests (with proper isolation) quite fast actually, and I don’t have a performance problem with them.

  • 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. 2026-05-10T22:12:55+00:00Added an answer on May 10, 2026 at 10:12 pm

    These don’t sound like unit tests to me, but more like functional tests. That’s fine, automating functional testing is good, but it’s pretty common for functional tests to be slow. They’re testing the whole system (or large pieces of it).

    Unit tests tend to be fast because they’re testing one thing in isolation from everything else. If you can’t test things in isolation from everything else, you should consider that a warning sign that you code is too tightly coupled.

    Can you tell which tests you have which are unit tests (testing 1 thing only) vs. functional tests (testing 2 or more things at the same time)? Which ones are fast and which ones are slow?

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

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
Basically, what I'm trying to create is a page of div tags, each has
I've got a string that has curly quotes in it. I'd like to replace
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the

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.