Re: Unit tests in IDE

2016-06-12 Thread Jan Kotek
Hi, I tried, but there is no way to create test configuration on 3.0 an 3.7 branches.  Project generated by generate-idea-files or generate-eclipse-files only contains launcher for Cassandra deamon, not unit test.  And way you described does not deal with JVM settings some unit tests needs. Only wa

Re: Unit tests in IDE

2016-06-10 Thread Jan Kotek
It does, I missed that, thanks On Thu, 2016-06-09 at 11:53 -0500, Josh McKenzie wrote: > Does ant generate-idea-files > cover > this? > > On Thu, Jun 9, 2016 at 11:26 AM, Jan Kotek wrote: > > > > > Hi, > > > > I would like to run and

Re: Unit tests in IDE

2016-06-09 Thread Mahdi Mohammadi
You can create JUnit run configurations in IDEA and run/debug a single unit test. You will need to specify class name of the test. [image: Inline image 1] Best Regards On Fri, Jun 10, 2016 at 12:53 AM, Josh McKenzie wrote: > Does ant generate-idea-files >

Re: Unit tests in IDE

2016-06-09 Thread Josh McKenzie
Does ant generate-idea-files cover this? On Thu, Jun 9, 2016 at 11:26 AM, Jan Kotek wrote: > Hi, > > I would like to run and debug unit tests directly in Intellij Idea. > Current Ant runner does not work for me. > > I studied the problem

Unit tests in IDE

2016-06-09 Thread Jan Kotek
Hi, I would like to run and debug unit tests directly in Intellij Idea. Current Ant runner does not work for me. I studied the problem a bit. Tests use java-agent that complicates it a bit. Also I would like to make minimal changes. So far my approach is: - Run special test case under regular An