in IntelliJ I am coding a Java Spring project built using maven. For this project, I created several selenium tests to test my web application, and they work as intended. Although due to problems with Spring annotations, I was not able to create JUnit tests for my controllers, so I wanted to test them with selenium.
I can get full code coverage of my JUnit tests, but I have not reached the same level for Selenium tests. I tried using the integrated plugin to cover IntelliJ, Emma, and JaCoCo code, but none of them gave me any results.
I already searched on stackoverflow, but all the results that I get are either with third-party tools or with a configuration change with my tomcat + maven server (I know little about these topics), and again JaCoCo (which is not work for me). Isn't there an easy way to achieve this in IntelliJ? JUnit code works too, so why not selenium? Any help would be greatly appreciated.
source
share