SlideShare a Scribd company logo
TESTING
ANGULAR JS
Juan José Galán López
Acerca de
Desarrollador Web Full Stack
Symfony, Drupal, Magento
LESS, SASS, AngularJS, JavaScript
Indice
Herramientas testing
Instalación/Configuración Karma
Test unitarios - Jasmine
ngMock
Test unitarios AngularJS
Arquitectura aplicación Demo
Testing sobre Servicios, Controlador, Directiva
Herramientas testing
Karma - Test runner
Protractor - Testing framework
Nos permite correr un comando que determina si un conjunto de test pasan o no.
Permite automatizar los test funcionales a través de la interacción con el navegador.
Herramientas testing
Jasmine - Testing framework
Alternativas a Jasmine
Integración por defecto con Karma
Herramientas como: spies, fakes…
Sintaxis limpia, test con formato que describen la conducta que estamos testeando
Selenium, Mocha
Instalación Karma
* npm init
npm install karma -g
karma init
Necesitaremos instalar Jasmine y el lanzador de Chrome
npm install jasmine-core -g
npm install karma-jasmine -g
npm install karma-chrome-launcher -g
karma start
Comprobamos la instalación: karma --version
Configuración Karma
karma.conf.js
Test unitarios - Jasmine
describe
it
expect
matchers
describe("A suite is just a function", function() {
var a;
it("and so is a spec", function() {
a = true;
expect(a).toBe(true);
});
});
https://www.cheatography.com/citguy/cheat-sheets/jasmine-js-testing/
Test unitarios - Jasmine
beforeEach
Es llamado antes de ejecutar el test del bloque
describe en el que se encuentra.
afterEach
Es llamado después de ejecutar el test del bloque
describe en el que se encuentra.
describe("A spec (with setup and tear-down)", function() {
var foo;
beforeEach(function() {
foo = 0;
foo += 1;
});
afterEach(function() {
foo = 0;
});
it("is just a function, so it can contain any code", function() {
expect(foo).toEqual(1);
});
it("can have more than one expectation", function() {
expect(foo).toEqual(1);
expect(true).toEqual(true);
});
});
Test unitarios - Jasmine
Spies
describe("A spy", function() {
var foo, bar = null;
beforeEach(function() {
foo = {
setBar: function(value) {
bar = value;
}
};
spyOn(foo, 'setBar');
foo.setBar(456, 'another param');
});
it("tracks that the spy was called", function() {
expect(foo.setBar).toHaveBeenCalled();
});
it("tracks that the spy was called x times", function() {
expect(foo.setBar).toHaveBeenCalledTimes(2);
});
it("tracks all the arguments of its calls", function() {
expect(foo.setBar).toHaveBeenCalledWith(456, 'another param');
});
});
Algunos matchers para los Spies:
toHaveBeenCalled
toHaveBeenCalledTimes
toHaveBeenCalledWith
Test unitarios - Jasmine
Spies describe("A spy, when configured with an alternate implementation", function() {
var foo, fetchedBar;
beforeEach(function() {
spyOn(foo, "getBar").and.callFake(function(arguments, can, be, received) {
return 1001;
});
});
fetchedBar = foo.getBar();
it("tracks that the spy was called", function() {
expect(foo.getBar).toHaveBeenCalled();
});
it("when called returns the requested value", function() {
expect(fetchedBar).toEqual(1001);
});
});
Encadenando and.callFake.
Test unitarios - Jasmine
Existen otros muchos elementos en Jasmine que podéis consultar en:
https://jasmine.github.io/pages/docs_home.html
Test unitarios - ngMock
Elementos de test necesarios para testear apps Angular JS
$httpBackend
Inject
$controller
$compile
...
Test unitarios AngularJS
Elementos bajo test:
● Servicios
● Controllers
● Directiva
● Eventos
Aplicación demo - Arquitectura
bt-setup-table
Proxies
Services
Controllers
Directives
Transformers
Controllers
Templates
App
Aplicación demo - Arquitectura
Estructura directorio para los tests
Aplicación demo - Arquitectura
bt-setup-controller
bt-setup
SELECT_SHIP
Test Unitario Angular
1. Describimos la suite de test
describe('Setup Table Service test', function () {
1. Cargamos el módulo que contiene el código a ejecutar
beforeEach(module('battleShip'));
1. Definimos cada spec o test
Pasos comunes:
$httpBackend
Test Unitario Angular - SetupTableProxy
SetupTableProxy$http
[[0, 0], [0, 0]]
fakeSetupTableProxy
Test Unitario Angular - SetupTableGetService
SetupTableProxy SetupTableGetService
[[0, 0], [0, 0]]
Test Unitario Angular - SetupTableTransformer
SetupTableTransformer[[0, 0], [0, 0]] [[ { value: 0, class: 'water'}, { value: 0, class: 'water'}],
[ { value: 0, class: 'water'}, { value: 0, class: 'water'}]]
fakeSetupTableTransformerfakeSetupTableGetService
Test Unitario Angular - SetupTableService
SetupTableGetService
[[0, 0], [0, 0]]
[[ { value: 0, class: 'water'}, { value: 0, class: 'water'}],
[ { value: 0, class: 'water'}, { value: 0, class: 'water'}]]
SetupTableGetService SetupTableTransformer
[[0, 0], [0, 0]]
Test Unitario Angular - SetupTableCheckService
SetupTableCheckService
[[ { value: 0, class: 'water'}, { value: 0, class: 'water'}],
[ { value: 0, class: 'water'}, { value: 0, class: 'water'}]]
x y length isVertical
true/false
Test Unitario Angular - Controllers
SetupControllerDirective SetupController
SELECT_SHIP
checkSetupShip
resetCellClass
Test Unitario Angular - Directive
Template
https://github.com/karma-runner/karma-ng-html2js-preprocessor
npm install karma-ng-html2js-preprocessor --save-dev module.exports = function(config) {
config.set({
preprocessors: {
'**/*.html': ['ng-html2js']
},
...
ngHtml2JsPreprocessor: {
moduleName: 'templates'
},
….
files: [
...
'**/*.html'
],
Test Unitario Angular - Directive
setupTableDirective
● Comprobación de creación de tablero
● Conducta tras pasar por las celdas mouseenter/mouseleave
Referencias
https://jasmine.github.io/2.5/introduction
AngularJS By Example - Packt Publishing
https://github.com/atomicposts/battleship

More Related Content

What's hot (20)

PPT
Assurer - a pluggable server testing/monitoring framework
Gosuke Miyashita
 
PPTX
Test like a pro with Ember.js
Mike North
 
PPT
Perlbal Tutorial
Takatsugu Shigeta
 
KEY
Testing JS with Jasmine
Evgeny Gurin
 
PPTX
Spring data jpa simple example_스프링학원/자바학원추천/구로IT학원/자바학원
탑크리에듀(구로디지털단지역3번출구 2분거리)
 
PDF
JavaFX – 10 things I love about you
Alexander Casall
 
KEY
BDD with Behat and Symfony2
katalisha
 
PDF
Django Celery - A distributed task queue
Alex Eftimie
 
PDF
The JavaFX Ecosystem
Andres Almiray
 
PDF
Vuejs testing
Greg TAPPERO
 
PDF
From Swing to JavaFX
Yuichi Sakuraba
 
PPTX
Why You Should Use TAPIs
Jeffrey Kemp
 
PDF
GraphQL gifts from Kiwi.com
Michal Sänger
 
PDF
Bareon functional testing ci
Max Lobur
 
PPTX
Rare frontend testing
Андрей Вандакуров
 
PDF
The JavaFX Ecosystem
Andres Almiray
 
ODP
Unit Testing and Coverage for AngularJS
Knoldus Inc.
 
PPTX
Laravel 5.5 dev
RocketRoute
 
PDF
ZLM-Cython Build you first module
Vladimir Ulogov
 
PPTX
Testing Ansible
Anth Courtney
 
Assurer - a pluggable server testing/monitoring framework
Gosuke Miyashita
 
Test like a pro with Ember.js
Mike North
 
Perlbal Tutorial
Takatsugu Shigeta
 
Testing JS with Jasmine
Evgeny Gurin
 
Spring data jpa simple example_스프링학원/자바학원추천/구로IT학원/자바학원
탑크리에듀(구로디지털단지역3번출구 2분거리)
 
JavaFX – 10 things I love about you
Alexander Casall
 
BDD with Behat and Symfony2
katalisha
 
Django Celery - A distributed task queue
Alex Eftimie
 
The JavaFX Ecosystem
Andres Almiray
 
Vuejs testing
Greg TAPPERO
 
From Swing to JavaFX
Yuichi Sakuraba
 
Why You Should Use TAPIs
Jeffrey Kemp
 
GraphQL gifts from Kiwi.com
Michal Sänger
 
Bareon functional testing ci
Max Lobur
 
Rare frontend testing
Андрей Вандакуров
 
The JavaFX Ecosystem
Andres Almiray
 
Unit Testing and Coverage for AngularJS
Knoldus Inc.
 
Laravel 5.5 dev
RocketRoute
 
ZLM-Cython Build you first module
Vladimir Ulogov
 
Testing Ansible
Anth Courtney
 

Viewers also liked (18)

PPT
Yeoman
James Cryer
 
PDF
EasyTest Test Automation Tool Introduction
Zhu Zhong
 
PPT
AngularJS Testing Strategies
njpst8
 
PPTX
Slaven tomac unit testing in angular js
Slaven Tomac
 
PDF
Test-Driven Development with TypeScript+Jasmine+AngularJS
SmartOrg
 
PDF
AngularJS Testing
Ahmed Elmehri
 
PPT
TDD, unit testing and java script testing frameworks workshop
Sikandar Ahmed
 
PDF
Test-Driven Development of AngularJS Applications
FITC
 
PDF
Angular testing
Raissa Ferreira
 
PDF
Angular 2 - What's new and what's different
Priscila Negreiros
 
PDF
AngularJS Unit Test
Chiew Carol
 
PPTX
Unit testing JavaScript: Jasmine & karma intro
Maurice De Beijer [MVP]
 
PPTX
TDD Basics with Angular.js and Jasmine
Luis Sánchez Castellanos
 
PDF
Angularjs - Unit testing introduction
Nir Kaufman
 
PPT
Automated Testing With Jasmine, PhantomJS and Jenkins
Work at Play
 
KEY
Javascript Tests with Jasmine for Front-end Devs
Chris Powers
 
KEY
Jasmine
Chris Powers
 
PDF
AngularJS Unit Testing w/Karma and Jasmine
foxp2code
 
Yeoman
James Cryer
 
EasyTest Test Automation Tool Introduction
Zhu Zhong
 
AngularJS Testing Strategies
njpst8
 
Slaven tomac unit testing in angular js
Slaven Tomac
 
Test-Driven Development with TypeScript+Jasmine+AngularJS
SmartOrg
 
AngularJS Testing
Ahmed Elmehri
 
TDD, unit testing and java script testing frameworks workshop
Sikandar Ahmed
 
Test-Driven Development of AngularJS Applications
FITC
 
Angular testing
Raissa Ferreira
 
Angular 2 - What's new and what's different
Priscila Negreiros
 
AngularJS Unit Test
Chiew Carol
 
Unit testing JavaScript: Jasmine & karma intro
Maurice De Beijer [MVP]
 
TDD Basics with Angular.js and Jasmine
Luis Sánchez Castellanos
 
Angularjs - Unit testing introduction
Nir Kaufman
 
Automated Testing With Jasmine, PhantomJS and Jenkins
Work at Play
 
Javascript Tests with Jasmine for Front-end Devs
Chris Powers
 
Jasmine
Chris Powers
 
AngularJS Unit Testing w/Karma and Jasmine
foxp2code
 
Ad

Similar to Testing angular js (20)

PDF
Unit Testing in AngularJS - CC FE & UX
JWORKS powered by Ordina
 
PPTX
Protractor framework architecture with example
shadabgilani
 
PDF
Quick tour to front end unit testing using jasmine
Gil Fink
 
PDF
Javascript tdd byandreapaciolla
Andrea Paciolla
 
PDF
20160905 - BrisJS - nightwatch testing
Vladimir Roudakov
 
PDF
Javascript testing: tools of the trade
Juanma Orta
 
PDF
JavaCro'14 - Unit testing in AngularJS – Slaven Tomac
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PPT
Automated javascript unit testing
ryan_chambers
 
PPTX
Selenium with java
Gousalya Ramachandran
 
PPT
An Introduction to AngularJs Unittesting
Inthra onsap
 
PDF
Unit Testing with Jest
Maayan Glikser
 
PDF
Quick tour to front end unit testing using jasmine
Gil Fink
 
ODP
Angular JS Unit Testing - Overview
Thirumal Sakthivel
 
PPTX
Full Stack Unit Testing
GlobalLogic Ukraine
 
ODP
Europython 2011 - Playing tasks with Django & Celery
Mauro Rocco
 
PDF
Test Driven Development for Microservices
Ballerina
 
PDF
Testing in Ballerina Language
Lynn Langit
 
PPTX
Angular Unit Testing
Alessandro Giorgetti
 
PDF
Painless Javascript Unit Testing
Benjamin Wilson
 
PDF
Nashville Symfony Functional Testing
Brent Shaffer
 
Unit Testing in AngularJS - CC FE & UX
JWORKS powered by Ordina
 
Protractor framework architecture with example
shadabgilani
 
Quick tour to front end unit testing using jasmine
Gil Fink
 
Javascript tdd byandreapaciolla
Andrea Paciolla
 
20160905 - BrisJS - nightwatch testing
Vladimir Roudakov
 
Javascript testing: tools of the trade
Juanma Orta
 
JavaCro'14 - Unit testing in AngularJS – Slaven Tomac
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Automated javascript unit testing
ryan_chambers
 
Selenium with java
Gousalya Ramachandran
 
An Introduction to AngularJs Unittesting
Inthra onsap
 
Unit Testing with Jest
Maayan Glikser
 
Quick tour to front end unit testing using jasmine
Gil Fink
 
Angular JS Unit Testing - Overview
Thirumal Sakthivel
 
Full Stack Unit Testing
GlobalLogic Ukraine
 
Europython 2011 - Playing tasks with Django & Celery
Mauro Rocco
 
Test Driven Development for Microservices
Ballerina
 
Testing in Ballerina Language
Lynn Langit
 
Angular Unit Testing
Alessandro Giorgetti
 
Painless Javascript Unit Testing
Benjamin Wilson
 
Nashville Symfony Functional Testing
Brent Shaffer
 
Ad

Recently uploaded (20)

PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 

Testing angular js

  • 2. Acerca de Desarrollador Web Full Stack Symfony, Drupal, Magento LESS, SASS, AngularJS, JavaScript
  • 3. Indice Herramientas testing Instalación/Configuración Karma Test unitarios - Jasmine ngMock Test unitarios AngularJS Arquitectura aplicación Demo Testing sobre Servicios, Controlador, Directiva
  • 4. Herramientas testing Karma - Test runner Protractor - Testing framework Nos permite correr un comando que determina si un conjunto de test pasan o no. Permite automatizar los test funcionales a través de la interacción con el navegador.
  • 5. Herramientas testing Jasmine - Testing framework Alternativas a Jasmine Integración por defecto con Karma Herramientas como: spies, fakes… Sintaxis limpia, test con formato que describen la conducta que estamos testeando Selenium, Mocha
  • 6. Instalación Karma * npm init npm install karma -g karma init Necesitaremos instalar Jasmine y el lanzador de Chrome npm install jasmine-core -g npm install karma-jasmine -g npm install karma-chrome-launcher -g karma start Comprobamos la instalación: karma --version
  • 8. Test unitarios - Jasmine describe it expect matchers describe("A suite is just a function", function() { var a; it("and so is a spec", function() { a = true; expect(a).toBe(true); }); }); https://www.cheatography.com/citguy/cheat-sheets/jasmine-js-testing/
  • 9. Test unitarios - Jasmine beforeEach Es llamado antes de ejecutar el test del bloque describe en el que se encuentra. afterEach Es llamado después de ejecutar el test del bloque describe en el que se encuentra. describe("A spec (with setup and tear-down)", function() { var foo; beforeEach(function() { foo = 0; foo += 1; }); afterEach(function() { foo = 0; }); it("is just a function, so it can contain any code", function() { expect(foo).toEqual(1); }); it("can have more than one expectation", function() { expect(foo).toEqual(1); expect(true).toEqual(true); }); });
  • 10. Test unitarios - Jasmine Spies describe("A spy", function() { var foo, bar = null; beforeEach(function() { foo = { setBar: function(value) { bar = value; } }; spyOn(foo, 'setBar'); foo.setBar(456, 'another param'); }); it("tracks that the spy was called", function() { expect(foo.setBar).toHaveBeenCalled(); }); it("tracks that the spy was called x times", function() { expect(foo.setBar).toHaveBeenCalledTimes(2); }); it("tracks all the arguments of its calls", function() { expect(foo.setBar).toHaveBeenCalledWith(456, 'another param'); }); }); Algunos matchers para los Spies: toHaveBeenCalled toHaveBeenCalledTimes toHaveBeenCalledWith
  • 11. Test unitarios - Jasmine Spies describe("A spy, when configured with an alternate implementation", function() { var foo, fetchedBar; beforeEach(function() { spyOn(foo, "getBar").and.callFake(function(arguments, can, be, received) { return 1001; }); }); fetchedBar = foo.getBar(); it("tracks that the spy was called", function() { expect(foo.getBar).toHaveBeenCalled(); }); it("when called returns the requested value", function() { expect(fetchedBar).toEqual(1001); }); }); Encadenando and.callFake.
  • 12. Test unitarios - Jasmine Existen otros muchos elementos en Jasmine que podéis consultar en: https://jasmine.github.io/pages/docs_home.html
  • 13. Test unitarios - ngMock Elementos de test necesarios para testear apps Angular JS $httpBackend Inject $controller $compile ...
  • 14. Test unitarios AngularJS Elementos bajo test: ● Servicios ● Controllers ● Directiva ● Eventos
  • 15. Aplicación demo - Arquitectura bt-setup-table Proxies Services Controllers Directives Transformers Controllers Templates App
  • 16. Aplicación demo - Arquitectura Estructura directorio para los tests
  • 17. Aplicación demo - Arquitectura bt-setup-controller bt-setup SELECT_SHIP
  • 18. Test Unitario Angular 1. Describimos la suite de test describe('Setup Table Service test', function () { 1. Cargamos el módulo que contiene el código a ejecutar beforeEach(module('battleShip')); 1. Definimos cada spec o test Pasos comunes:
  • 19. $httpBackend Test Unitario Angular - SetupTableProxy SetupTableProxy$http [[0, 0], [0, 0]]
  • 20. fakeSetupTableProxy Test Unitario Angular - SetupTableGetService SetupTableProxy SetupTableGetService [[0, 0], [0, 0]]
  • 21. Test Unitario Angular - SetupTableTransformer SetupTableTransformer[[0, 0], [0, 0]] [[ { value: 0, class: 'water'}, { value: 0, class: 'water'}], [ { value: 0, class: 'water'}, { value: 0, class: 'water'}]]
  • 22. fakeSetupTableTransformerfakeSetupTableGetService Test Unitario Angular - SetupTableService SetupTableGetService [[0, 0], [0, 0]] [[ { value: 0, class: 'water'}, { value: 0, class: 'water'}], [ { value: 0, class: 'water'}, { value: 0, class: 'water'}]] SetupTableGetService SetupTableTransformer [[0, 0], [0, 0]]
  • 23. Test Unitario Angular - SetupTableCheckService SetupTableCheckService [[ { value: 0, class: 'water'}, { value: 0, class: 'water'}], [ { value: 0, class: 'water'}, { value: 0, class: 'water'}]] x y length isVertical true/false
  • 24. Test Unitario Angular - Controllers SetupControllerDirective SetupController SELECT_SHIP checkSetupShip resetCellClass
  • 25. Test Unitario Angular - Directive Template https://github.com/karma-runner/karma-ng-html2js-preprocessor npm install karma-ng-html2js-preprocessor --save-dev module.exports = function(config) { config.set({ preprocessors: { '**/*.html': ['ng-html2js'] }, ... ngHtml2JsPreprocessor: { moduleName: 'templates' }, …. files: [ ... '**/*.html' ],
  • 26. Test Unitario Angular - Directive setupTableDirective ● Comprobación de creación de tablero ● Conducta tras pasar por las celdas mouseenter/mouseleave
  • 27. Referencias https://jasmine.github.io/2.5/introduction AngularJS By Example - Packt Publishing https://github.com/atomicposts/battleship