[Test] Inject info about test (class and method names, tags) to TestServices

This commit is contained in:
Dmitriy Novozhilov
2021-01-12 11:46:14 +03:00
committed by TeamCityServer
parent 84eb74e194
commit ce44a2a7e4
5 changed files with 60 additions and 2 deletions
@@ -0,0 +1,14 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.test.services
data class KotlinTestInfo(
val className: String,
val methodName: String,
val tags: Set<String>
) : TestService
val TestServices.testInfo: KotlinTestInfo by TestServices.testServiceAccessor()