I am trying wp-unit and noticed that when you turn on WP_DEBUG, which might be useful when you debug your testing plugin, you see few warning messages on wp-unit itself.
arrange_results($failuresKeys,'failed');
caused undefined variable warning so initialize it like,
$faulresKeys = array()
arrange_results($failuresKeys,'failed');
if($_POST['Submit'] =='Run')
caused another warning when method is get so how about this?
if(array_key_exists('Submit', $_POST) &&
$_POST['Submit'] =='Run')
Thanks