Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to rebuild before tests #781

Closed
StefanoDeVuono opened this issue Aug 20, 2019 · 1 comment · Fixed by #782
Closed

Need to rebuild before tests #781

StefanoDeVuono opened this issue Aug 20, 2019 · 1 comment · Fixed by #782
Milestone

Comments

@StefanoDeVuono
Copy link

When I add imports or change associated files, my tests will often fail until I run mvn test-compile in a terminal.

Is there a way to make this a prelaunch task to running my tests?

@jdneo
Copy link
Member

jdneo commented Aug 20, 2019

As a workaround, you can turn on java.autobuild.enabled.

Screen Shot 2019-08-20 at 3 51 38 PM

This will make sure your project will be incrementally built after each save event.

I'll send out a PR later to provide a setting whether to force build the workspace before each test execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants