Skip to content

Commit e95d269

Browse files
authored
Merge branch 'Baeldung:master' into option-either-conversion
2 parents d53078a + 6f9f1e1 commit e95d269

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

validate.sbt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ validateUnitTestNames := {
1111
val invalidTestNameFormatted = invalidTestName.mkString("\n")
1212
if (invalidTestName.nonEmpty) {
1313
log.error(
14-
s"""Found unit test files not matching with naming standards. Unit test files must end with UnitTest.scala.
15-
| Invalid files:
16-
| ${invalidTestNameFormatted}
14+
s""" ***************************************************
15+
|Found unit test classes not matching with naming standards. Unit test class must end with `UnitTest`.
16+
|Refer to README.md file in the GitHub for more information.
17+
|Invalid test classes:
18+
|${invalidTestNameFormatted}
19+
|***************************************************
1720
|""".stripMargin
1821
)
1922
}
2023
require(
2124
invalidTestName.isEmpty,
22-
s"Found ${invalidTestName.size} tests that doesn't follow naming convention!"
25+
s"Found ${invalidTestName.size} tests that doesn't follow naming convention, check the logs above for list of test classes!"
2326
)
2427
0
2528
}

0 commit comments

Comments
 (0)