Soumettre la recherche
Mettre en ligne
Test Driven Development with AngularJS
•
Télécharger en tant que PPTX, PDF
•
3 j'aime
•
865 vues
Sirar Salih
Suivre
TDD with Google's JavaScript framework, AngularJS.
Lire moins
Lire la suite
Technologie
Business
Signaler
Partager
Signaler
Partager
1 sur 34
Télécharger maintenant
Recommandé
One Framework to Rule Them All
One Framework to Rule Them All
Sirar Salih
Scalability vs. Performance
Scalability vs. Performance
SergeyChernyshev
In-house web automation?
In-house web automation?
Adam Christian
Making maven and grunt play nice
Making maven and grunt play nice
Zoran Nikolovski
improving the performance of Rails web Applications
improving the performance of Rails web Applications
John McCaffrey
Javascript sucks & frontend challenges @ClearSlide | while42 SF #7
Javascript sucks & frontend challenges @ClearSlide | while42 SF #7
While42
Cvcc performance tuning
Cvcc performance tuning
John McCaffrey
Windy cityrails performance_tuning
Windy cityrails performance_tuning
John McCaffrey
Recommandé
One Framework to Rule Them All
One Framework to Rule Them All
Sirar Salih
Scalability vs. Performance
Scalability vs. Performance
SergeyChernyshev
In-house web automation?
In-house web automation?
Adam Christian
Making maven and grunt play nice
Making maven and grunt play nice
Zoran Nikolovski
improving the performance of Rails web Applications
improving the performance of Rails web Applications
John McCaffrey
Javascript sucks & frontend challenges @ClearSlide | while42 SF #7
Javascript sucks & frontend challenges @ClearSlide | while42 SF #7
While42
Cvcc performance tuning
Cvcc performance tuning
John McCaffrey
Windy cityrails performance_tuning
Windy cityrails performance_tuning
John McCaffrey
When Two Forces Meet
When Two Forces Meet
Sirar Salih
WebAssembly vs JavaScript: What is faster?
WebAssembly vs JavaScript: What is faster?
Alexandr Skachkov
Geezeo AWS Presentation
Geezeo AWS Presentation
tparlin
Creating Hyper Performant Web Apps with React
Creating Hyper Performant Web Apps with React
Jp DeVries
Rubyslava beyond the_monolith
Rubyslava beyond the_monolith
olahmichal
Cloud fail scaling to infinity but not beyond
Cloud fail scaling to infinity but not beyond
Kunal Johar
WordCamp IL 2016 - WordPress Scale on AWS
WordCamp IL 2016 - WordPress Scale on AWS
Boaz Ziniman
Freelancing and side-projects on Rails
Freelancing and side-projects on Rails
John McCaffrey
Lessons from Branch's launch
Lessons from Branch's launch
aflock
Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
WP Engine UK
User percieved performance
User percieved performance
Mike North
Rails Performance Tricks and Treats
Rails Performance Tricks and Treats
Marshall Yount
Introduction to Web Worker
Introduction to Web Worker
Wittawas Wisarnkanchana
PAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark Tomlinson
Neotys
Chilango Rails Ecommerce Lightning talk
Chilango Rails Ecommerce Lightning talk
Edwin Cruz
[CocoaHeads Tricity] Michał Zygar - Consuming API
[CocoaHeads Tricity] Michał Zygar - Consuming API
CocoaHeads Tricity
Akkurate Akka
Akkurate Akka
Yurii Ostapchuk
Charity Hound - Serverless, NoOps, The Tooth Fairy
Charity Hound - Serverless, NoOps, The Tooth Fairy
ServerlessConf
A Symphony of Lambdas with AWS Step Functions
A Symphony of Lambdas with AWS Step Functions
Paul Chin Jr.
Reactive All the Way Down the Stack
Reactive All the Way Down the Stack
Steve Pember
Angularfying Your ASP.NET MVC APP
Angularfying Your ASP.NET MVC APP
Sirar Salih
Clean Code
Clean Code
Sirar Salih
Contenu connexe
Tendances
When Two Forces Meet
When Two Forces Meet
Sirar Salih
WebAssembly vs JavaScript: What is faster?
WebAssembly vs JavaScript: What is faster?
Alexandr Skachkov
Geezeo AWS Presentation
Geezeo AWS Presentation
tparlin
Creating Hyper Performant Web Apps with React
Creating Hyper Performant Web Apps with React
Jp DeVries
Rubyslava beyond the_monolith
Rubyslava beyond the_monolith
olahmichal
Cloud fail scaling to infinity but not beyond
Cloud fail scaling to infinity but not beyond
Kunal Johar
WordCamp IL 2016 - WordPress Scale on AWS
WordCamp IL 2016 - WordPress Scale on AWS
Boaz Ziniman
Freelancing and side-projects on Rails
Freelancing and side-projects on Rails
John McCaffrey
Lessons from Branch's launch
Lessons from Branch's launch
aflock
Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
WP Engine UK
User percieved performance
User percieved performance
Mike North
Rails Performance Tricks and Treats
Rails Performance Tricks and Treats
Marshall Yount
Introduction to Web Worker
Introduction to Web Worker
Wittawas Wisarnkanchana
PAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark Tomlinson
Neotys
Chilango Rails Ecommerce Lightning talk
Chilango Rails Ecommerce Lightning talk
Edwin Cruz
[CocoaHeads Tricity] Michał Zygar - Consuming API
[CocoaHeads Tricity] Michał Zygar - Consuming API
CocoaHeads Tricity
Akkurate Akka
Akkurate Akka
Yurii Ostapchuk
Charity Hound - Serverless, NoOps, The Tooth Fairy
Charity Hound - Serverless, NoOps, The Tooth Fairy
ServerlessConf
A Symphony of Lambdas with AWS Step Functions
A Symphony of Lambdas with AWS Step Functions
Paul Chin Jr.
Reactive All the Way Down the Stack
Reactive All the Way Down the Stack
Steve Pember
Tendances
(20)
When Two Forces Meet
When Two Forces Meet
WebAssembly vs JavaScript: What is faster?
WebAssembly vs JavaScript: What is faster?
Geezeo AWS Presentation
Geezeo AWS Presentation
Creating Hyper Performant Web Apps with React
Creating Hyper Performant Web Apps with React
Rubyslava beyond the_monolith
Rubyslava beyond the_monolith
Cloud fail scaling to infinity but not beyond
Cloud fail scaling to infinity but not beyond
WordCamp IL 2016 - WordPress Scale on AWS
WordCamp IL 2016 - WordPress Scale on AWS
Freelancing and side-projects on Rails
Freelancing and side-projects on Rails
Lessons from Branch's launch
Lessons from Branch's launch
Optimizing Your Site for Holiday Traffic
Optimizing Your Site for Holiday Traffic
User percieved performance
User percieved performance
Rails Performance Tricks and Treats
Rails Performance Tricks and Treats
Introduction to Web Worker
Introduction to Web Worker
PAC 2019 virtual Mark Tomlinson
PAC 2019 virtual Mark Tomlinson
Chilango Rails Ecommerce Lightning talk
Chilango Rails Ecommerce Lightning talk
[CocoaHeads Tricity] Michał Zygar - Consuming API
[CocoaHeads Tricity] Michał Zygar - Consuming API
Akkurate Akka
Akkurate Akka
Charity Hound - Serverless, NoOps, The Tooth Fairy
Charity Hound - Serverless, NoOps, The Tooth Fairy
A Symphony of Lambdas with AWS Step Functions
A Symphony of Lambdas with AWS Step Functions
Reactive All the Way Down the Stack
Reactive All the Way Down the Stack
En vedette
Angularfying Your ASP.NET MVC APP
Angularfying Your ASP.NET MVC APP
Sirar Salih
Clean Code
Clean Code
Sirar Salih
Message to political Leader
Message to political Leader
sandz002
MoMA cc by pds
MoMA cc by pds
Paul Silver
Paul silver resume & prospect moves mgr summary
Paul silver resume & prospect moves mgr summary
Paul Silver
Test Driving AngularJS
Test Driving AngularJS
Sirar Salih
Introduction to WPF and MVVM
Introduction to WPF and MVVM
Sirar Salih
Angular 2 + TypeScript = true. Let's Play!
Angular 2 + TypeScript = true. Let's Play!
Sirar Salih
applications of trignomerty
applications of trignomerty
akshat3030
En vedette
(9)
Angularfying Your ASP.NET MVC APP
Angularfying Your ASP.NET MVC APP
Clean Code
Clean Code
Message to political Leader
Message to political Leader
MoMA cc by pds
MoMA cc by pds
Paul silver resume & prospect moves mgr summary
Paul silver resume & prospect moves mgr summary
Test Driving AngularJS
Test Driving AngularJS
Introduction to WPF and MVVM
Introduction to WPF and MVVM
Angular 2 + TypeScript = true. Let's Play!
Angular 2 + TypeScript = true. Let's Play!
applications of trignomerty
applications of trignomerty
Similaire à Test Driven Development with AngularJS
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
Amazon Web Services
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
Atlassian
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
Amazon Web Services
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
Amazon Web Services
performance.ppt
performance.ppt
fakeaccount225095
Storage Systems For Scalable systems
Storage Systems For Scalable systems
elliando dias
Beyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the Gap
Josh Evans
33rd degree
33rd degree
Dariusz Kordonski
Wwcode2
Wwcode2
Sarah Mei
My Little Webap - DevOpsSec is Magic
My Little Webap - DevOpsSec is Magic
Apollo Clark
ENT317 Migrating with Morningstar: The Path To Dynamic Cloud
ENT317 Migrating with Morningstar: The Path To Dynamic Cloud
Amazon Web Services
DevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...
Niels Frydenholm
Art of Using Xen at Scale
Art of Using Xen at Scale
The Linux Foundation
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
Amazon Web Services
Micro service, Containers & Cluster Management
Micro service, Containers & Cluster Management
Vasu Thiyagarajan
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
Amazon Web Services
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
Amazon Web Services
Windycityrails page performance
Windycityrails page performance
John McCaffrey
ENT317 Dynamic Infrastructure? Migrating? Adventures in Keeping Your Applicat...
ENT317 Dynamic Infrastructure? Migrating? Adventures in Keeping Your Applicat...
Amazon Web Services
Similaire à Test Driven Development with AngularJS
(20)
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
From Concept to Clustered JAC (jira.atlassian.com) - Graham Carrick
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
performance.ppt
performance.ppt
Storage Systems For Scalable systems
Storage Systems For Scalable systems
Beyond DevOps - How Netflix Bridges the Gap
Beyond DevOps - How Netflix Bridges the Gap
33rd degree
33rd degree
Wwcode2
Wwcode2
My Little Webap - DevOpsSec is Magic
My Little Webap - DevOpsSec is Magic
ENT317 Migrating with Morningstar: The Path To Dynamic Cloud
ENT317 Migrating with Morningstar: The Path To Dynamic Cloud
DevOps, Common use cases, Architectures, Best Practices
DevOps, Common use cases, Architectures, Best Practices
Getting your mobile test automation process in place - using Cucumber and Cal...
Getting your mobile test automation process in place - using Cucumber and Cal...
Art of Using Xen at Scale
Art of Using Xen at Scale
(DVO401) Deep Dive into Blue/Green Deployments on AWS
(DVO401) Deep Dive into Blue/Green Deployments on AWS
Micro service, Containers & Cluster Management
Micro service, Containers & Cluster Management
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Auckland 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
AWS Summit Sydney 2014 | Scaling on AWS for the First 10 Million Users
Windycityrails page performance
Windycityrails page performance
ENT317 Dynamic Infrastructure? Migrating? Adventures in Keeping Your Applicat...
ENT317 Dynamic Infrastructure? Migrating? Adventures in Keeping Your Applicat...
Dernier
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
Softradix Technologies
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
Dernier
(20)
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Test Driven Development with AngularJS
1.
TDD WITH ANGULARJS SIRAR
SALIH SOFTWARE ENGINEER
2.
About me
3.
HTML enhanced for
web apps!
4.
5.
GET (once) POST (later) From
wikipedia
6.
• Directives – Powerful,
Angular-only feature – Simplify DOM manipulation by reusable custom functionality • Data binding – Models • Controllers – Behavior – Avoid DOM manipulation • Form validation – Easy client-side validation • Localization – Filter directives • Testability – Designed to be testable – Easy dependency injection • +++
7.
• Module – Sub-modules
8.
• Controller
9.
• Directive
10.
• Service – Data
11.
• Service – Data
12.
«With great power,
comes great responsibility.» – Uncle Ben
13.
Test Driving AngularJS
14.
«With great power,
comes great responsibility.» – Uncle Ben
15.
«With great power,
comes great responsibility.» – Uncle Ben • Jasmine
16.
«With great power,
comes great responsibility.» – Uncle Ben • Jasmine
17.
«With great power,
comes great responsibility.» – Uncle Ben • Jasmine
18.
«With great power,
comes great responsibility.» – Uncle Ben • Karma test runner
19.
«With great power,
comes great responsibility.» – Uncle Ben • Karma test runner
20.
«With great power,
comes great responsibility.» – Uncle Ben • Karma coverage (Istanbul plugin)
21.
«With great power,
comes great responsibility.» – Uncle Ben • Karma coverage (Istanbul plugin)
22.
Demo time!
23.
Test Automation «With great
power, comes great responsibility.» – Uncle Ben
24.
«With great power,
comes great responsibility.» – Uncle Ben • Grunt
25.
«With great power,
comes great responsibility.» – Uncle Ben • Karma TeamCity (TeamCity plugin)
26.
«With great power,
comes great responsibility.» – Uncle Ben • Karma TeamCity (TeamCity plugin)
27.
«With great power,
comes great responsibility.» – Uncle Ben • Karma TeamCity (TeamCity plugin)
28.
«With great power,
comes great responsibility.» – Uncle Ben • Karma coverage (Istanbul plugin)
29.
Best Practices
30.
Naming Conventions • File
naming – mainCtrl.js – mainSvc.js – mainDirective.js • JavaScript – mainController – mainService – mainDirective • HTML – <main-directive></main-directive>
31.
Design Patterns • Feature
Pattern – Break into feature folders
32.
Design Patterns • Enterprise
Pattern – Break into component folders
33.
Design Patterns • App
Pattern – Break into module folders
34.
Thank you
/ Questions? Blog: http://sirars.com/ • sirar.salih@itera.no / sirars@gmail.com • @SirarSalih
Télécharger maintenant