Run JMH test for gradle project in eclipse

Is there any direct way to run JMH tests in eclipse for a gradle project. I tried but ran into problems like No benchmarks to run (then manually copy the generated Mircobenchmark META-INF witch file in resources)

Then it gave the generated class generate.package_name.testClass a not found exception. Adding this source build-path-> gives errors as it expects package name as gradle / classes / generated / package_name

+3


source to share





All Articles