Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.11 KB

logo


🔥 Medivh

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.


import gradle plugin in your project

id("tech.medivh.plugin.gradle") version "0.4.2"

config Medivh

You can use Medivh in your Gradle file after build

medivh {
    include("com.example") // your package name here
}

write and run test case

import org.junit.jupiter.api.Test

class DemoClassTest{
    
    @Test
    fun testDemo(){
        val demoClass = DemoClass()
        repeat(10){
            demoClass.helloWorld()
        }
    }
}

Run your test

Complete Example

this is a complete example, you can refer to this example to use Medivh