0
下面是一個JUnit Runner,我需要從另一個類中獲取類名RunTest。如何在另一個類中獲取Junit類名
@RunWith(Cucumber.class)
@CucumberOptions(
features = { "src/test/resources/features/Automated" },
tags = { "@Create_Account_Without_Entering_Mandatory_Fields", "[email protected]","[email protected]" }
, dryRun = false,
monochrome = true,
glue = "tv.nativ.mio.automation.stepdef", plugin = {"html:target/cucumber", "json:target/cucumber/cucumber1.json"})
public class RunTest {
}
我試圖Thread.dumpStack()
和Thread.currentThread().getStackTrace()
但列表中