Skip to content
Extraits de code Groupes Projets
Valider 7cc4890b rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

highlight the example commands to run the tests, otherwise one would not see them

parent 77acc2cd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -51,12 +51,12 @@ class GenerateTest extends GeneratePluginBase
if (strtolower($testType) === 'ui') {
$messages[] = 'To run this test execute the command: ';
$messages[] = sprintf('./console tests:run-ui %s', $testName);
$messages[] = '<comment>' . sprintf('./console tests:run-ui %s', $testName) . '</comment>';
} else {
$messages[] = 'To run all your plugin tests, execute the command: ';
$messages[] = sprintf('./console tests:run %s', $pluginName);
$messages[] = '<comment>' . sprintf('./console tests:run %s', $pluginName) . '</comment>';
$messages[] = 'To run only this test: ';
$messages[] = sprintf('./console tests:run %s', $testName);
$messages[] = '<comment>' . sprintf('./console tests:run %s', $testName) . '</comment>';
}
$messages[] = 'Enjoy!';
......
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