Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 85a2a4c

Browse files
authored
Merge pull request #767 from microsoft/trboehre/tests
Changed Maven to execute tests matching *Test*.java
2 parents 53bf70e + e7df38a commit 85a2a4c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

libraries/bot-builder/src/test/java/com/microsoft/bot/builder/teams/TeamsInfoTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
import java.util.List;
4444
import java.util.concurrent.CompletableFuture;
4545

46-
@RunWith(MockitoJUnitRunner.class)
46+
@RunWith(MockitoJUnitRunner.Silent.class)
4747
public class TeamsInfoTests {
4848
@Test
4949
public void TestSendMessageToTeamsChannel() {

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@
385385
<configuration>
386386
<source>${jdk.version}</source>
387387
<target>${jdk.version}</target>
388+
<compilerArgs>
389+
<arg>-Xpkginfo:always</arg>
390+
</compilerArgs>
388391
</configuration>
389392
</plugin>
390393
<plugin>
@@ -441,6 +444,17 @@
441444
</executions>
442445
</plugin>
443446

447+
<plugin>
448+
<groupId>org.apache.maven.plugins</groupId>
449+
<artifactId>maven-surefire-plugin</artifactId>
450+
<version>2.22.2</version>
451+
<configuration>
452+
<includes>
453+
<include>**/*Test*.java</include>
454+
</includes>
455+
</configuration>
456+
</plugin>
457+
444458
<plugin>
445459
<groupId>org.eluder.coveralls</groupId>
446460
<artifactId>coveralls-maven-plugin</artifactId>

0 commit comments

Comments
 (0)