refactor to junit 5 latest and repoint dependencies

remove all testng references
update annotations
This commit is contained in:
Jonathan Shook
2020-04-01 15:24:29 -05:00
parent d9113ea6f9
commit 3036f971a6
143 changed files with 522 additions and 580 deletions

View File

@@ -27,14 +27,14 @@
<!-- test scope only -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core-java8</artifactId>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

View File

@@ -17,13 +17,12 @@
package io.nosqlbench.activitytype.stdout;
import org.testng.annotations.Test;
import org.junit.Test;
import java.util.Arrays;
import static org.assertj.core.api.Assertions.assertThat;
@Test
public class StatementFormattersTest {
@Test
@@ -56,4 +55,4 @@ public class StatementFormattersTest {
assertThat(csv).isEqualTo("alpha : {alpha}\n beta : {beta}");
}
}
}

View File

@@ -20,7 +20,7 @@ package io.nosqlbench.activitytype.stdout;
import io.nosqlbench.engine.api.activityapi.core.Action;
import io.nosqlbench.engine.api.activityapi.core.ActionDispenser;
import io.nosqlbench.engine.api.activityimpl.ActivityDef;
import org.testng.annotations.Test;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
@@ -28,6 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* Created by sebastianestevez on 5/5/17.
*/
public class StdoutActivityTypeTest {
@Test
public void testDiagActivity() {
StdoutActivityType stdoutAt = new StdoutActivityType();