Extracting test values in JUNIT

6 views
Skip to first unread message

Ankit pandey

unread,
Mar 20, 2018, 2:53:35 PM3/20/18
to JUnit Helper Group
Hey guys i have junit test cases file being generated by Randoop tool. I need to extract the input values generated in each test case. For eg,  in file RegressionTest0.java first test case is
 
@Test
  public void test001() throws Throwable {

    if (debug) { System.out.format("%n%s%n","RegressionTest0.test001"); }

    triangle_validity triangle_validity_instance3 = new triangle_validity((int)(byte)0, (int)'#', (int)(byte)0);

  }

I need to extract the value:
((int)(byte)0, (int)'#', (int)(byte)0

please help as I need to do this for each test case. is there any simple method I can do this?? 
RegressionTest0.java
Reply all
Reply to author
Forward
0 new messages