Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JS Testing Stack - Full Stack Toronto 2014
Search
vladikoff
November 23, 2014
Technology
1
810
JS Testing Stack - Full Stack Toronto 2014
JS Testing Stack - Full Stack Toronto 2014
vladikoff
November 23, 2014
Tweet
Share
More Decks by vladikoff
See All by vladikoff
The state of end-to-end testing for modern web apps
vladikoff
0
68
SmashingConf 2020
vladikoff
0
18
dotJS 2019 - Into WebAssembly
vladikoff
0
19
3D + the Web Platform
vladikoff
0
380
7 years of three.js
vladikoff
0
130
node.js @ GA 2015
vladikoff
0
440
Node.JS Intro - General Assembly
vladikoff
3
470
CSS Preprocessor Workflow with Grunt
vladikoff
3
2.7k
3D Voxel Worlds with voxel.js
vladikoff
1
1.9k
Other Decks in Technology
See All in Technology
podman_update_2024-12
orimanabu
1
280
pg_bigmをRustで実装する(第50回PostgreSQLアンカンファレンス@オンライン 発表資料)
shinyakato_
0
110
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
180
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.4k
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
300
UI State設計とテスト方針
rmakiyama
2
690
権威ドキュメントで振り返る2024 #年忘れセキュリティ2024
hirotomotaguchi
2
760
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
170
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
190
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
130
re:Invent 2024 Innovation Talks(NET201)で語られた大切なこと
shotashiratori
0
320
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
500
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Statistics for Hackers
jakevdp
796
220k
Being A Developer After 40
akosma
87
590k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
900
Navigating Team Friction
lara
183
15k
We Have a Design System, Now What?
morganepeng
51
7.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Transcript
Next-generation JavaScript Testing Vlad Filippov // Full Stack Toronto 2014
@vladikoff
– John Resig, 2009 http://ejohn.org/blog/javascript-testing-does-not-scale/ “JavaScript Testing Does Not Scale.”
2009
2014
Firefox Accounts
The Intern @ theintern.io Maintained by
None
Unit Testing
None
None
None
Demo
None
Functional Testing
Supports: • InternetExplorerDriver • FirefoxDriver • ChromeDriver • SafariDriver •
Selendroid • ios-driver http://theintern.github.io/leadfoot/ Cross-platform consistency to the Selenium WebDriver API.
webcompat.com Intern tests Demo
Basic Functional Test with the Intern
Basic Functional Test with the Intern
None
None
! SauceLabs, TestingBot, BrowserStack https://theintern.github.io/digdug/ Abstraction library for WebDriver service
tunnels
Demo
Running CI Tests - JS Library
Running CI Tests - Large App Unit Tests Install Project
Limited Functional Tests JSHint, JSCS, etc. Pull Request Testing Install Project Full Functional Tests Stage Testing with Xvfb
Xvfb - X virtual framebuffer
More than just tests!
https://github.com/gotwarlost/istanbul
Code Coverage
Reporters
None
Capabilities • ChromeDriver homepage: https://sites.google.com/a/ chromium.org/chromedriver/capabilities • Custom Firefox profile:
• Main Wiki: https://github.com/theintern/intern/wiki ! • Intern examples for
jQuery, Angular, etc: https://github.com/theintern/intern-examples ! • Tutorial: https://github.com/theintern/intern-tutorial • Support: https://github.com/theintern/intern/wiki/Support
@vladikoff Questions? Thank you!