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

Add initial code to allow custom fixtures for screenshot tests & allow plugins...

Add initial code to allow custom fixtures for screenshot tests & allow plugins to execute only plugin tests in travis.
parent 2cdc984f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -30,12 +30,19 @@ then ...@@ -30,12 +30,19 @@ then
if [ -n "$PLUGIN_NAME" ] if [ -n "$PLUGIN_NAME" ]
then then
phantomjs ../lib/screenshot-testing/run-tests.js --use-github-expected $PLUGIN_NAME fixture=${PLUGIN_NAME:-OmniFixture}
phantomjs ../lib/screenshot-testing/run-tests.js --use-github-expected --fixture=$fixture $PLUGIN_NAME
else else
phantomjs ../lib/screenshot-testing/run-tests.js --store-in-ui-tests-repo --use-github-expected phantomjs ../lib/screenshot-testing/run-tests.js --store-in-ui-tests-repo --use-github-expected
fi fi
else else
phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors if [ -n "$PLUGIN_NAME" ]
then
phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors --group $PLUGIN_NAME
else
phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors
fi
fi fi
else else
phpunit --configuration phpunit.xml --coverage-text --colors phpunit --configuration phpunit.xml --coverage-text --colors
......
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