Skip to content

Commit b04a074

Browse files
yadavan88hkateu
authored andcommitted
Added extra messages for error
1 parent c6461d7 commit b04a074

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

validate.sbt

Lines changed: 5 additions & 2 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.
14+
s""" ***************************************************
15+
| Found unit test files not matching with naming standards. Unit test files must end with UnitTest.scala.
16+
| Refer to README.md file in the GitHub for more information.
1517
| Invalid files:
1618
| ${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 files!"
2326
)
2427
0
2528
}

0 commit comments

Comments
 (0)