One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.example</groupId> | |
| <artifactId>jacoco-sample</artifactId> | |
| <version>1.0-SNAPSHOT</version> | |
| <name>jacoco-sample</name> |
| package org.example; | |
| import org.junit.Test; | |
| import static org.junit.Assert.assertEquals; | |
| public class GreetingsBuilderTest { | |
| @Test | |
| public void testGreetingEN() { |
| package org.example; | |
| import org.junit.Test; | |
| import static org.junit.Assert.assertEquals; | |
| public class GreetingsBuilderTest { | |
| @Test | |
| public void testGreeting() { |
| package org.example; | |
| public class GreetingsBuilder { | |
| private final String language; | |
| public GreetingsBuilder(final String language) { | |
| this.language = language; | |
| } |
| <build> | |
| <finalName>maven-code-coverage</finalName> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <version>3.0.0-M4</version> | |
| </plugin> | |
| <plugin> |