Running JUnit Test on Play Framework 2.x and Eclipse

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. :)

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days