mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Logs.
This commit is contained in:
parent
f486bfbd93
commit
25df7bed38
2 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ abstract class GenericTestRunner: ITestRunnerContributor {
|
|||
configName: String) : Boolean {
|
||||
var result = false
|
||||
|
||||
context.logger.log(project.name, 1, "Running default TestNG runner")
|
||||
|
||||
val testConfig = project.testConfigs.firstOrNull { it.name == configName }
|
||||
|
||||
if (testConfig != null) {
|
||||
|
|
|
@ -64,6 +64,8 @@ class TestNgRunner : GenericTestRunner() {
|
|||
override fun runTests(project: Project, context: KobaltContext, classpath: List<IClasspathDependency>,
|
||||
configName: String): Boolean {
|
||||
|
||||
context.logger.log(project.name, 1, "Running enhanced TestNG runner")
|
||||
|
||||
val testngDependency = (project.testDependencies.filter { it.id.contains("testng") }
|
||||
.firstOrNull() as AetherDependency).version
|
||||
val testngDependencyVersion = Versions.toLongVersion(testngDependency)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue