After doing JUnit i am doing some document based testing that has the following items in a table
Input Variables – Expected Outcome – Actual Outcome ….. Pass or Fail ….
If i pass my method a date and a time
“01AUG07” “14:40” the method should return me a gregorian calander which it does
how can i check that it has created the correct one?
thanks
unsure which to pick as the best becuase i dont no which is – i used miks and it worked.
thanks guys
Create a
GregorianCalendarwith the expect value and compare them. I’d useSimpleDateFormatand thesetTimemethod.