Answer to Question #141111 in Java | JSP | JSF for nour

Question #141111
im doing an assignment which i have to complete and perfect according to testers given. Some of the testers are failing but i cant see why that is since its not showing me what my methods are actually outputting. How can i see what my method is actually outputting?
1
Expert's answer
2020-10-29T08:24:01-0400

Unit testing of every method could let you figure out what is failing. Just have unit testing for every method to get to know what is causing failure.


  1. Mark a incomplete test, so it fails and warns, till end.
  2. Make sure to throw the exception.
try{
  // do stuff...
  fail("Exception not thrown");
}catch(Exception e){
  assertTrue(e.hasSomeFlag()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS