Medivh is a convenient and easy-to-use monitoring component. You only need one lind code to get a function execution report.
See web site for details on the project.
id("tech.medivh.plugin.gradle") version "0.4.2"
You can use Medivh in your Gradle file after build
medivh {
include("com.example") // your package name here
}
import org.junit.jupiter.api.Test
class DemoClassTest{
@Test
fun testDemo(){
val demoClass = DemoClass()
repeat(10){
demoClass.helloWorld()
}
}
}
this is a complete example, you can refer to this example to use Medivh