Add a suite of IntelliJ run configurations#179
Add a suite of IntelliJ run configurations#179avelanarius wants to merge 1 commit intoscylladb:scylla-3.xfrom
Conversation
Add a suite of IntelliJ run configurations to make it easier for new developers to onboard the project and better Maven discoverability. The run configurations should appear automatically after loading the project in IntelliJ, in the Run > Run... menu. The configurations are organized to three groups: 1. build: clean, format, build, full build 2. test: unit tests, integration tests - including configurations to run them against Scylla, Cassandra, run only a single test 3. install: package, install
|
@Lorak-mmk thoughts? |
|
As @Gor027 mentioned, the tests targets are using Maven for running tests. This works correctly, but isn't super well integrated with IntelliJ. Moreover, it's hard to run such target in debug mode. Maybe the targets should use the "native" JUnit target. |
I've checked out this PR and rebased it on I've tried to run the tests using those targets. One thing I'd change before merging (apart from fixing |
|
tbh, I don't think it is good idea:
I think it would be better to have a |
If there is a need for that the I don't see why not. I know that @avelanarius used Intelij to develop Java Driver, and I did too - because Java support is much worse in VsCode (I suspect its true for other text editors too) than in Intelij.
The problem is that Makefile won't be well integrated with IDE. It's nice to have buttons for run / test / debug working, being able to easily run a single test by clicking on it etc. |
True, but it is going to be a truth source, where you can find and see how exactly it is done. |
I don't see a problem with adding both a Makefile and IDE integration.
Something being "possible" is different that it being "comfortable". Were you able to just click a button in IDE to run all the tests? |
4484961 to
1f490ee
Compare
Add a suite of IntelliJ run configurations to make it easier for new developers to onboard the project and for better Maven discoverability. The run configurations should appear automatically after loading the project in IntelliJ, in the Run > Run... menu.
The configurations are organized to three groups: