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
800
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
67
SmashingConf 2020
vladikoff
0
16
dotJS 2019 - Into WebAssembly
vladikoff
0
15
3D + the Web Platform
vladikoff
0
380
7 years of three.js
vladikoff
0
130
node.js @ GA 2015
vladikoff
0
430
Node.JS Intro - General Assembly
vladikoff
3
460
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
Mocking in Rust Applications
taiki45
2
410
PdMはどのように全てのスピードを上げられるか ~ 非連続進化のための具体的な取り組み ~
sansantech
PRO
4
1.3k
株式会社EventHub・エンジニア採用資料
eventhub
0
3k
どこよりも遅めなWinActor Ver.7.5.0 新機能紹介
tamai_63
0
210
社内の学びの場・コミュニティ形成とエンジニア同士のリレーションシップ構築/devreljapan2024
nishiuma
3
290
プロダクトエンジニアを支えるための開発生産性向上施策
tsukakei
0
150
やってやろうじゃないかメカアジャイル! / Let's do it, mechanical agile!
psj59129
1
680
Functional TypeScript
naoya
11
4.8k
Jetpack Compose Modifier 徹底解説 / Jetpack Compose Modifier
wiroha
0
200
Discovering AI Models
picardparis
4
3.9k
OR学会2024秋_短期収益と将来のオフ方策評価性能を考慮したクーポン割当方策混合比の決定
recruitengineers
PRO
4
470
サプライチェーン攻撃に備える
ryunen344
0
290
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
93
13k
Writing Fast Ruby
sferik
623
60k
KATA
mclloyd
27
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
227
52k
Code Review Best Practice
trishagee
62
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
Web Components: a chance to create the future
zenorocha
309
42k
BBQ
matthewcrist
83
9.2k
Why You Should Never Use an ORM
jnunemaker
PRO
53
8.9k
How to Ace a Technical Interview
jacobian
274
23k
Thoughts on Productivity
jonyablonski
66
4.2k
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!