You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: i18n/fr-FR.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2236,15 +2236,15 @@ Alors que ce guide explique le *quoi*, le *pourquoi* et le *comment*, il m'a ét
2236
2236
2237
2237
**[Retour en haut de page](#table-des-matières)**
2238
2238
2239
-
## Testing
2240
-
Unit testing helps maintain clean code, as such I included some of my recommendations for unit testing foundations with links for more information.
2239
+
## Le Test
2240
+
Les tests unitaires aident à maintenir un code propre, ainsi, j'ai inclu quelques unes de mes recommandations sur les fondamentaux du test unitaire avec des liens pour plus déinformation.
2241
2241
2242
-
### Write Tests with Stories
2242
+
### Écriture des Tests avec les Stories
2243
2243
###### [Style [Y190](#style-y190)]
2244
2244
2245
-
- Write a set of tests for every story. Start with an empty test and fill them in as you write the code for the story.
2245
+
- Écrivez un ensemble de tests pour chaque story. Commencer avec un test vide et complétez-les à mesure que vous écrivez le code pour la story.
2246
2246
2247
-
*Why?*: Writing the test descriptions helps clearly define what your story will do, will not do, and how you can measure success.
2247
+
*Pourquoi ?* : Écrire les descriptions de tests aident à définir clairement ce que votre story devra faire, ne devra pas faire et comment mesurer l'avancement.
2248
2248
2249
2249
```javascript
2250
2250
it('should have Avengers controller', function() {
@@ -2263,48 +2263,48 @@ Unit testing helps maintain clean code, as such I included some of my recommenda
2263
2263
//TODO ($httpBackend?)
2264
2264
});
2265
2265
2266
-
//and so on
2266
+
//et ainsi de suite
2267
2267
```
2268
2268
2269
-
### Testing Library
2269
+
### Librairie de Test
2270
2270
###### [Style [Y191](#style-y191)]
2271
2271
2272
-
- Use [Jasmine](http://jasmine.github.io/) or [Mocha](http://visionmedia.github.io/mocha/) for unit testing.
2272
+
- Utilisez [Jasmine](http://jasmine.github.io/) or [Mocha](http://visionmedia.github.io/mocha/) pour les tests unitaires.
2273
2273
2274
-
*Why?*: Both Jasmine and Mocha are widely used in the AngularJS community. Both are stable, well maintained, and provide robust testing features.
2274
+
*Pourquoi ?* : Jasmine et Mocha sont toutes deux largement utilisées dans la communauté AngularJS. Toutes les deux stables, bien maintenues, et fournissant des fonctionnalités robustes de test.
2275
2275
2276
-
Note: When using Mocha, also consider choosing an assert library such as [Chai](http://chaijs.com).
2276
+
Note : Lorsque vous utilisez Mocha, utilisez aussi une librairie d'assertion telle que [Chai](http://chaijs.com).
2277
2277
2278
-
### Test Runner
2278
+
### Lanceur de Test
2279
2279
###### [Style [Y192](#style-y192)]
2280
2280
2281
-
- Use [Karma](http://karma-runner.github.io) as a test runner.
2281
+
- Utilisez [Karma](http://karma-runner.github.io) comme lanceur de test.
2282
2282
2283
-
*Why?*: Karma is easy to configure to run once or automatically when you change your code.
2283
+
*Pourquoi ?* : Karma est facile à configurer pour lancer les tests une fois ou automatiquement lorsqu'un changement est fait dans le code.
2284
2284
2285
-
*Why?*: Karma hooks into your Continuous Integration process easily on its own or through Grunt or Gulp.
2285
+
*Pourquoi ?* : Karma s'intègre facilement dans votre processus d'Intégration Continue soit tout seul ou par Grunt ou Gulp.
2286
2286
2287
-
*Why?*: Some IDE's are beginning to integrate with Karma, such as [WebStorm](http://www.jetbrains.com/webstorm/) and [Visual Studio](http://visualstudiogallery.msdn.microsoft.com/02f47876-0e7a-4f6c-93f8-1af5d5189225).
2287
+
*Pourquoi ?* : Quelques EDI commencent à s'intégrer avec Karma, c'est le cas de [WebStorm](http://www.jetbrains.com/webstorm/) et [Visual Studio](http://visualstudiogallery.msdn.microsoft.com/02f47876-0e7a-4f6c-93f8-1af5d5189225).
2288
2288
2289
-
*Why?*: Karma works well with task automation leaders such as [Grunt](http://www.gruntjs.com) (with [grunt-karma](https://github.com/karma-runner/grunt-karma)) and [Gulp](http://www.gulpjs.com) (with [gulp-karma](https://github.com/lazd/gulp-karma)).
2289
+
*Pourquoi ?* : Karma fonctionne bien avec les leaders de l'automatisation de tâches tel que [Grunt](http://www.gruntjs.com) (avec [grunt-karma](https://github.com/karma-runner/grunt-karma)) ou [Gulp](http://www.gulpjs.com) (avec [gulp-karma](https://github.com/lazd/gulp-karma)).
2290
2290
2291
-
### Stubbing and Spying
2291
+
### Les Stubs et les Spy
2292
2292
###### [Style [Y193](#style-y193)]
2293
2293
2294
-
- Use Sinon for stubbing and spying.
2294
+
- Utilisez Sinon pour les stubs et les spy.
2295
2295
2296
-
*Why?*: Sinon works well with both Jasmine and Mocha and extends the stubbing and spying features they offer.
2296
+
*Pourquoi ?* : Sinon fonctionne bien avec Jasmine et Mocha et étend les fonctionnalités de stub et de spy qu'ils offrent.
2297
2297
2298
-
*Why?*: Sinon makes it easier to toggle between Jasmine and Mocha, if you want to try both.
2298
+
*Pourquoi ?* : Sinon rend plus facile l'alternance entre Jasmine et Mocha, si vous voulez essayer les deux.
2299
2299
2300
-
### Headless Browser
2300
+
### Navigateur sans Interface Graphique
2301
2301
###### [Style [Y194](#style-y194)]
2302
2302
2303
-
- Use [PhantomJS](http://phantomjs.org/) to run your tests on a server.
2303
+
- Utilisez [PhantomJS](http://phantomjs.org/) pour éxécuter les tests sur un serveur.
2304
2304
2305
-
*Why?*: PhantomJS is a headless browser that helps run your tests without needing a "visual" browser. So you do not have to install Chrome, Safari, IE, or other browsers on your server.
2305
+
*Pourquoi?* : PhantomJS est un navigateur sans interface graphique qui peut vous aider à éxécuter les tests sans avoir besoin d'un navigateur "visuel". Ainsi vous n'avez pas besoin d'installer Chrome, Safari, IE, ou d'autres navigateurs sur votre serveur.
2306
2306
2307
-
Note: You should still test on all browsers in your environment, as appropriate for your target audience.
2307
+
Note : Que cela ne vous dispense pas de tester sur tous les navigateurs dans votre environnement, d'après les clients que vous ciblez.
0 commit comments