I have a simple requirement , i have assertEquals statement to verify , what i want is if relevant assertion passes i need to print as "SuccessFull test case" if assertEquals fails i need to print as "TestCase fail"
i was trying to assign assertEquals to a boolean variable , but i cant assign assertion to a variable , if can how do we do that ..i even Google'd but cannot find any sort of coding part ,
i am printing successful message end of the test case , even assertion failed because end of the line , i need to trigger my print based on vital assertions ,
This is basically for managerial reporting purpose , because managers dont like the way assertionError message :-)