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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:24:54+00:00 2026-06-05T08:24:54+00:00

In Eclipse, (if I remember correctly) I could run a JUnit test almost instantaneously

  • 0

In Eclipse, (if I remember correctly) I could run a JUnit test almost instantaneously with virtually no startup time. This meant I could do a codechange+test cycle in a couple of seconds.

I’ve recently migrating to IDEA IntelliJ, which seems to have to “make” the project before running a unit test if you’ve changed any source code since the last time. This typically takes 20 seconds for me, which is too long especially for test-driven development.

I can uncheck the “Make before launch” checkbox in the Run Configuration, but then the test is executed without compiling recent changes.

The warnings output during the “make” indicates that it is doing some aspect weaving for at least some of the time. I would imagine that aspects aren’t generally wanted for unit testing.

My guess is that Eclipse was constantly compiling in the background every time you changed a source file, and doing so rapidly without doing the aspect weaving.

How can I speed up my codechange+test cycles in IntelliJ?

more info: I have “Compile in background” checked in Compiler Settings. The Java Compiler is ajc in com.springsource.org.aspectj.tools-1.6.8.RELEASE.jar

  • 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-05T08:24:55+00:00Added an answer on June 5, 2026 at 8:24 am

    Pragmatic answer: switch the compiler from “ajc” to “Eclipse” during test-driven development. Remember to revert it when you’re deploying the application!

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

Sidebar

Related Questions

I remember eclipse and idea have this template to automatically create an object's hashCode
I may have a corruption problem in Eclipse run configurations. This happened after I
As far as I remember there exists an Eclipse plugin that reveals ids of
Very often while working in Eclipse I realize that I remember class name, but
Eclipse Helios periodically starts running a job which displays Computing additional info. During this
I can't seem to run the following code in Eclipse. I do have a
I am using Eclipse v3.5. In previous Eclipse versions i remember if i have
i remember there being a way of marking a section of code in eclipse
In an older version of Eclipse, the number of which I can't remember, there
Eclipse/Aptana seems to remember my password that I use to access my SVN repositories.

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.