Keep track of global success or failure and print out a summary success or failure when the
tests are complete. Makes it less likely that a test failure will be missed.
This commit is contained in:
@@ -249,15 +249,23 @@ function create_and_login_user()
|
||||
}
|
||||
|
||||
if(!test_application_delete())
|
||||
{
|
||||
echo "test_application_delete() failed!\n";
|
||||
else
|
||||
$bTestSuccess = false;
|
||||
} else
|
||||
{
|
||||
echo "test_application_delete() passed\n";
|
||||
}
|
||||
|
||||
|
||||
if(!test_application_getWithRating())
|
||||
{
|
||||
echo "test_application_getWithRating() failed!\n";
|
||||
else
|
||||
$bTestSuccess = false;
|
||||
} else
|
||||
{
|
||||
echo "test_application_getWithRating() passed\n";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user