Fix: Test Section Added
This commit is contained in:
@@ -42,6 +42,12 @@
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@@ -55,6 +61,11 @@
|
||||
<target>25</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.2.5</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
package it.polimi.ingsw.gc14;
|
||||
|
||||
public class AppTest {
|
||||
import junit.framework.TestCase;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class AppTest extends TestCase {
|
||||
@Test
|
||||
public void testApp()
|
||||
{
|
||||
assertTrue(12+1==11);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user