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

Introduce intellij gradle - junit plugin #46118

Closed
pgomulka opened this issue Aug 29, 2019 · 3 comments · Fixed by #53747
Closed

Introduce intellij gradle - junit plugin #46118

pgomulka opened this issue Aug 29, 2019 · 3 comments · Fixed by #53747
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team

Comments

@pgomulka
Copy link
Contributor

Some tests require additional configuration like jvm options in order to pass. To make running them easier, it would be great if we could prepare the configuration in gradle build files and use that in IDE as a runner template.
@mark-vieira suggested we can use from Jetbrains for Intellij
https://github.com/JetBrains/gradle-idea-ext-plugin/wiki/DSL-spec-v.-0.1#junit

@pgomulka pgomulka added the :Delivery/Build Build or test infrastructure label Aug 29, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@alpar-t
Copy link
Contributor

alpar-t commented Sep 2, 2019

Relates to #32257 would be nice if Eclipse also has something like this

@cbuescher
Copy link
Member

To add some specifics to this, we just ran into some tests (SearchQueryIT.testRangeQueryWithLocaleMapping) that require
-Djava.locale.providers=SPI,COMPAT to be set when running from an IDE (Eclipse, IntelliJ). I added some note to the CONTRIBUTING docs and that particular test in #49491 but it would be great not to have to think about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants