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

  • Home
  • SEARCH
  • 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 705811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:05:43+00:00 2026-05-14T04:05:43+00:00

In our project, we have a plenty of unit tests. They help to keep

  • 0

In our project, we have a plenty of unit tests. They help to keep project rather well-tested.

Besides them, we have a set of tests which are unit tests but depends on some kind of external resource. We call them external tests. For example, they can sometimes access web-services.

While unit tests are easy to run, the integrational tests couldn’t pass sometimes: for example, due to timeout error. Also, these tests can take too much time to run.

Currently, we keep integration/external unit tests just to run them when developing corresponding functionality.

For plain unit tests, we use TeamCity for continuous integration.

How do you run the integration unit tests and when do you run 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. Editorial Team
    Editorial Team
    2026-05-14T04:05:44+00:00Added an answer on May 14, 2026 at 4:05 am

    In our project we have separate suite for regular/plain unit tests and separate suite for integration tests. The are two reasons for that:

    1. performance: integration tests are much slower,
    2. test fragility: integration tests fail more often due to environment-related conditions (give false positives).

    We use TeamCity as our main Continuous Integration server and Maven as build system. We use the following algorithm to run the tests:

    1. We run unit tests at within Eclipse IDE and before every commit.
    2. We run unit tests automatically after each commit on TeamCity agents using Maven’s mvn clean install
    3. We run integration tests automatically on TeamCity agent after “main” build is completed.

    The way we trigger integration tests execution is by configuring TeamCity’s integration.tests task to be dependent on “main” continous.build task, see here for details: http://confluence.jetbrains.net/display/TCD4/Dependencies+Triggers

    We run only integration tests (excluding unit tests) by:

    • using separate directory named
      “src/it/java” to keep integration
      tests,
    • excluding by default this source folder from maven-surefire-plugin configuration (configuration/excludes element),
    • using Maven profile called “integration” to exclude regular unit tests and include tests from “src/it/java” (this profile is configured by passing -Pintegration in integration.tests task).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our project we have a requirement that when a set of records are
We have our project build using maven. We try to run our unit test
In our project at work, they have written one plug-in for eclipse helios. They
I want to apply NTFS-Search to our project. Our project have to find the
In our project we have requirement that, after receiving sms message from third party
In our project we have UI and logic (which may be represented as a
I'm trying to bind in a third party app to our project but have
my team have built many tools for our project using win forms and Visual
We have several Flash objects included in our project. We call each one a
We are using jQuery in our project. We have numerous custom javascript files in

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.