-
Notifications
You must be signed in to change notification settings - Fork 477
Import Groovy Maven Project in IntelliJ
juno.yoon edited this page May 22, 2016
·
3 revisions
- This document is subject to be changed for ngrinder 3.4
JetBrain IntelliJ IDEA is the most excellant IDE in the Java world and a lot of open source developers are adopting it in their daily life tools.
IntelliJ is the quite good match to nGrinder Groovy Maven project because it already includes all the plugins(Groovy, SVN, Maven) in its default package and needs very few configurations to run nGrinder test cases. Please follow the below descriptions.
- Install IntelliJ IDEA Community Edition (It’s free)
- Run IntelliJ IDEA. Enables SVN(Select VCS Integration Plugins page), Maven, Groovy supports(Slect Other Plugins Page).
- Select “Check out from Version Control”
- Select the Subversion as VCS and type the SVN url in which SVN maven project is stored. Then type ID / PW.
- Then check out.
- In the imported Project, select the “Add Framework Support”
- Select Groovy and Click OK.
- Open Maven View.
- Select the test groovy file and Select “Run Test” on the context menu.
- Then you will see the following output on the Run panel. Please copy –javaagent… part
- Click Run=>Edit Configuration Menu.
- Change the default JUnit VM options to have the javaagent option.
- Delete JUnit>TestRunner.test configuration.
- Then run the step 10 again. You will see the following test output view.
- Debug test cases and commit the code into SVN when you finished.
- Then run this script in nGrinder!! That’s it!!