Open
Description
The @Testable
annotation is a useful tool for TestEngine
developers to facilitate the integration of custom tests executed by our own test engine with IDEs.
You can define the following annotation class for your test engine.
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION)
@Testable
annotation class MyTest
Then, you can use it from your test case.
@MyTest
fun myTest() { }
However, it introduces a transitive dependency on junit-platform-commons
, which includes a number of unnecessary utility classes for this use case, such as LruCache
.
Deliverables
- Create a new Maven artifact named
junit-platform-commons-api
and move the@Testable
annotation to it.