java - How to identify and run the JUnit test cases dynamically againest the multipledata sets corresponding to each test -
i have data configured in excel sheet. excel sheet name equal test class name , first sheet contains testmethods , correspoing data sheetnames. have constucted map>> object map>. want execute 1 test case list of map data. assume data ready now. want identify test method in test class , need execute method dynamically junit. iam totally struck on here. please me in this. regards, saran kumar p.
your description rather confusing, assume junit's parameterized tests solution: https://github.com/junit-team/junit/wiki/parameterized-tests
that mechanism allows have (1) 1 or more test methods accepting test data , (2) 1 method loading or generating collection of such test data. test methods executed each entry in generated dataset.
Comments
Post a Comment