I am trying to configure TeamCity to use coverage with Maven2. Without coverage enabled my tests run fine, but with coverage enabled the build hangs. Last lines in the build log:
[11:53:17]: ---- IDEA coverage runner ----
[11:53:17]: sampling ...
[11:53:17]: include patterns:
[11:53:17]: exclude patterns:
According to the documentation I should enable fork=true. I added
to the "Additional Maven command line parameters:" field in my build runner configuration, is that what I am intended to do? Are there any specifics to configuring Maven, Surefire/JUnit, TeamCity etc. when using coverage?