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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:13:34+00:00 2026-06-02T06:13:34+00:00

I have the following Project Structure / src/ # src-files for the app org.mayapp.main.Main/

  • 0

I have the following Project Structure

/
   src/  # src-files for the app
    org.mayapp.main.Main/
 test/ # unit-tests
    org.myapp.test.main.MainTestSuite/

When I want to run my Unit-Tests, e.g. org.myapp.test.main.MainTestSuite, IntelliJ always tries to compile all the packages in the whole project.

I want to prevent this, because I am currently developing on a part of my app and still want to run the Unit-Tests on other parts of the app.

Is there a way to prevent IntelliJ from compiling the whole project before running the Unit-Tests?

  • 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-06-02T06:13:34+00:00Added an answer on June 2, 2026 at 6:13 am

    When you run a test in IntelliJ you’ll see it adds a run target for that test, see Run -> Edit Configurations under the JUnit section.

    If you look at the run target for the test you’ll see there’s a Before Launch section that by default has Make selected. If you unselect Make IntelliJ won’t make/compile before the test is run.

    Remember to save the run target as IntelliJ creates new ones as you run different tests.

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

Sidebar

Related Questions

I have an Eclipse project with the following directory structure: MyProj >> src/main/java >>
I have a C project that has the following structure Main/ Makefile.am bin/ src/
I have the following directory structure: project/ .git/ ... app/ ... config/ initializers/ braintree.rb
I have a Python project with following directory structure: /(some files) /model/(python files) /tools/(more
I have the following directory structure. root --src ---tests src contains the source &
I currently have the following directory structure for my code: src |-- main |
I have a multi module project with the following structure: -parent -module1 -module2 -src
I have a project with the following structure: /. /src /project1 /bin /obj /project2
In my project I have the following structure: src/ plugins/ \__ mpc |__ oper
I have a Python project with the following directory structure: project/ project/src/ project/src/somecode.py project/src/mypackage/mymodule.py

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.