java - Coverage can't cover the public static void main method -
Using junit coverage, it can not cover the public static zero principal method. How can I cover it?
After making sure that it is testable, it is called as any other public static method :
YourClass.main (new string [] {"parameter1", "parameter2"});
And then emphasize the following situation.
Comments
Post a Comment