Please enable JavaScript.
Coggle requires JavaScript to display documents.
Protactor (What is Jasmine? (It's a bdd (behavior driven development)…
Protactor
What is Jasmine?
-
-
-
By following BDD procedure, Jasmine provides a small syntax to test the smallest unit of the entire app instead of testing it as whole
Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.
-
-
-
large community support: users, downloads...
-
-
(+)Les tests Angular se font à l'aide de Jasmine. Il s'agit de ce que l'on appelle un framework BDD (Behavior Driven Development) appliqué aux tests. L'avantage de cette approche, c'est qu'elle favorise la description des tests en langage naturel. De ce fait, vos tests seront lisibles (comme du français, ou plutôt de l'anglais
What's PROTACTOR
-
is built on top of webDriverJs protocol which uses native events and browser specific driver to interact with your js or normal app so every browser which you use for test automation has its own JS engine. So since PROTACTOR works on top of JS protocol so it can handle that js app quite easil.
-
Protractor runs tests against your application running in a real browser, interacting with it as a user would.
-
What's AngularJS app?
AngularJS is a frontend web app framework to make SPA web app maintained by google. since you're a tester you must know what's angularjs you don't have to develop with it
-
-
What's SPA?
It's a single-Page app: are web apps that load a single HTML page and dynamically update that page as the user interacts with the app
-
que cela siginfie?
Le mot, pas très esthétique à prononcer, veut dire rapporteur, l’outil de mesure d’angles. En se rappelant que c’est l’outil de tests end to end pour Angular, le jeu de mots est clair.
Ce Framework open source, faisant partie d’Angular lui même, permet de développer des tests depuis AngularJS et reste toujours assuré avec les dernières versions.
-
But
-
PROTACTOR is mainly for AngularJS app. it does not involved any wait statment. it use jasmine as bdd framework
Pourquoi tester la UI ?
Comme tous les tests, les tests UI sont un moyen de garantir la qualité de son code. Il prouvent la conformité vis-à-vis de la spécification, garantissent la non régression en détectant rapidement les bugs, et réduisent les délais et les coûts des tests manuels en permettant de les jouer sur des matrices d’environnements.