java - Cucumber get name of test runner class -


i'm trying name of current executing runner class, e.g. for:

@runwith(cucumber.class) @cucumberoptions( features={"features"}, glue={"src.stepdefinition"}, monochrome=false ) public class helloworld { } 

i need have class name "helloworld" available in java code. know how it? i've tried this: http://ramblingsofaswtester.com/2013/04/15/cucumber-test-name-and-tags-on-feature/ , definitly goes right direction, doesn't contains runner class name.

edit: because use maven can access

system.getproperty("test") 

which contains package name class name.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -