Tag: open source
My Jacoco Maven Plugin POM config
Adding it here so I can refer to it in the future. <jacoco.version>0.8.2</jacoco.version> <min.branch.coverage>0.95</min.branch.coverage> <min.line.coverage>0.95</min.line.coverage> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <execution> <id>default-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <rule implementation="org.jacoco.maven.RuleConfiguration"> <element>BUNDLE</element> <limits> <limit implementation="org.jacoco.report.check.Limit"> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>${min.branch.coverage}</minimum> </limit> <limit implementation="org.jacoco.report.check.Limit"> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>${min.line.coverage}</minimum> </limit>…
Gatling: How to run simulations in another directory
Adding here for archival purposes. To have Gatling use another directory for simulations (i.e. no need to copy them to the local Gatling folder), use the following: gatling –simulations-folder <directory-path>