Skip to content
Extraits de code Groupes Projets
Valider 85d20391 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Do not do phpunit @group test for UI tests.

parent eb29f1d7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
#!/bin/bash
if [ `phpunit --group __nogroup__ | grep "No tests executed" | wc -l` -ne 1 ]
if [ "$TEST_SUITE" != "UITests" ]
then
echo "=====> There are some tests functions which do not have a @group set. "
echo " Please add the @group phpdoc comment to the following tests: <====="
phpunit --group __nogroup__ --testdox | grep "[x]"
exit 1
if [ `phpunit --group __nogroup__ | grep "No tests executed" | wc -l` -ne 1 ]
then
echo "=====> There are some tests functions which do not have a @group set. "
echo " Please add the @group phpdoc comment to the following tests: <====="
phpunit --group __nogroup__ --testdox | grep "[x]"
exit 1
fi
fi
if [ -n "$TEST_SUITE" ]
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter