Hi Everyone,
I'm trying to
test a web application with multiple
junit tests (with multiple inputs), for which I'm using a main class to call all these Junit test cases. Now what I basically need to do is, get some benchmarking parameters which I intend displaying on a jfree chart, that reads from a csv.
Now, all the benchmarking parameters are retrieved in a service I've written,
all parameters set as public static variables in this service.
I need all these parameters in the main class from which I'm calling the junit test cases. However , all variables come 0, even though all test cases execute successfully . The following is the code for the main class:
Please note that the endeavour works when I put the writeToCSV method in my service, but that isn't how I want it, I want to access the variable from the main class.
Please help!!!
Thanks,
Ravissant