Rebuild more frequently for continuous testing
Answered
I'm using TDD and I can't find a way to get fast test feedback even on tiny projects.
There's a ~4-second delay between a save of a file and when a rebuild is launched, so I get the test run 5-7 seconds after a save. The delay is the same whether ì use the autotest of intellij or the plugin infinitest. I find that unnecessarily slow but I can't find a way to reduce this wait-time.
My settings : Build, Execution and deployment | compiler
- clear output directory on rebuild is OFF
- build project automatically is ON
If I force a build the test result comes immediately after build. I do find that a bit annoying though.
A while ago we could customize the autotest delay but that feature seems to have gone away.
What can I do to get much faster feedback cycles at least on toy projects?
Please sign in to leave a comment.
Hi. Could you please provide idea.log and build.log after reproducing the problem?
Sure, Here are the logs for one change and the following build
build.log
idea.log
Does it work after if you invoke File | Save All?
I am experiencing the same 4 second delay before the build starts when I tried with the IntelliJ IDEA 2019.2. This makes it really difficult to fast TDD. Any progress on fixing this issue?
Please check https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003328879-Can-t-get-devtools-auto-build-service-working-on-Windows-?page=1#community_comment_360000427059 .