I am trying to run JUnit test on Play Framework 2.3.8 with IDE as Eclipse. I also wanted to debug the Junit code in Eclipse
1. Start the Play console in debug mode by > activator -jvm-debug 9999
2. Run the debug configuration in Eclipse corresponding to the project
3. Go to the play console and type the following
$ testOnly
It will execute the methods annotted with @Test
Hope this helps. :)
1. Start the Play console in debug mode by > activator -jvm-debug 9999
2. Run the debug configuration in Eclipse corresponding to the project
3. Go to the play console and type the following
$ testOnly
It will execute the methods annotted with @Test
Hope this helps. :)
No comments:
Post a Comment