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

lets use _spec.js instead of _test.js as this is already used in the UI tests

parent 3be7243e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -17,11 +17,11 @@ On Ubuntu you might be able to use the `scripts/install-ubuntu.sh` script. Have ...@@ -17,11 +17,11 @@ On Ubuntu you might be able to use the `scripts/install-ubuntu.sh` script. Have
## File structure ## File structure
We do not have a general `tests` folder containing all test files. Instead we create a file having the same name appended by "_test.js" in the same directory. We do not have a general `tests` folder containing all test files. Instead we create a file having the same name appended by `_spec.js` in the same directory.
For instance you want to test a file named `startfrom.js` then we create a file named `startfrom_test.js`: For instance you want to test a file named `startfrom.js` then we create a file named `startfrom_spec.js`:
`plugins/CoreHome/angularjs/common/filters/startfrom.js` => `plugins/CoreHome/angularjs/common/filters/startfrom.js` =>
`plugins/CoreHome/angularjs/common/filters/startfrom_test.js` `plugins/CoreHome/angularjs/common/filters/startfrom_spec.js`
## Execution ## Execution
......
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