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
780
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
34
SmashingConf 2020
vladikoff
0
10
dotJS 2019 - Into WebAssembly
vladikoff
0
11
3D + the Web Platform
vladikoff
0
370
7 years of three.js
vladikoff
0
120
node.js @ GA 2015
vladikoff
0
400
Node.JS Intro - General Assembly
vladikoff
3
450
CSS Preprocessor Workflow with Grunt
vladikoff
3
2.6k
3D Voxel Worlds with voxel.js
vladikoff
1
1.9k
Other Decks in Technology
See All in Technology
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
190
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
3
840
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
240
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
210
JAWS-UG Bedrock Claude Night
yamahiro
3
610
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
220
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
0
350
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
390
Terraformあれやこれ/terraform-this-and-that
emiki
8
1.4k
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
530
VS CodeでAWSを操作しよう
smt7174
8
1.7k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
Adopting Sorbet at Scale
ufuk
68
8.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
A Tale of Four Properties
chriscoyier
151
22k
A Modern Web Designer's Workflow
chriscoyier
689
190k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Code Review Best Practice
trishagee
55
15k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
How GitHub (no longer) Works
holman
304
140k
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!