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
データ基盤におけるIaCの重要性とその運用
mtpooh
5
780
15年入社者に聞く! これまでのCAのキャリアとこれから
kurochan
1
130
プロダクト開発、インフラ、コーポレート、そしてAIとの共通言語としての Terraform / Terraform as a Common Language for Product Development, Infrastructure, Corporate Engineering, and AI
yuyatakeyama
6
1.4k
panicを深ぼってみる
kworkdev
PRO
1
110
論文紹介 ”Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG” @GDG Tokyo
shukob
0
210
ココナラのセキュリティ組織の体制・役割・今後目指す世界
coconala_engineer
0
170
DMMブックスへのTipKit導入
ttyi2
1
150
新卒1年目、はじめてのアプリケーションサーバー【IBM WebSphere Liberty】
ktgrryt
0
190
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
340
クロスアカウントな RDS Snapshot Export による カジュアルなデータ集約の仕組み / 202501-finatext-technight-lt
wa6sn
1
110
Skip Skip Run Run Run ♫
temoki
0
300
MicrosoftのOSSだけでAIによるブラウザテストを構成する
ymd65536
1
220
Featured
See All Featured
A better future with KSS
kneath
238
17k
How to train your dragon (web standard)
notwaldorf
89
5.8k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Visualization
eitanlees
146
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Docker and Python
trallard
43
3.2k
Code Review Best Practice
trishagee
65
17k
Building Applications with DynamoDB
mza
93
6.2k
4 Signs Your Business is Dying
shpigford
182
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
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!