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
850
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JS Testing Stack - Full Stack Toronto 2014
JS Testing Stack - Full Stack Toronto 2014
vladikoff
November 23, 2014
More Decks by vladikoff
See All by vladikoff
The state of end-to-end testing for modern web apps
vladikoff
0
100
SmashingConf 2020
vladikoff
0
44
dotJS 2019 - Into WebAssembly
vladikoff
0
37
3D + the Web Platform
vladikoff
0
460
7 years of three.js
vladikoff
0
170
node.js @ GA 2015
vladikoff
0
490
Node.JS Intro - General Assembly
vladikoff
3
520
CSS Preprocessor Workflow with Grunt
vladikoff
3
2.8k
3D Voxel Worlds with voxel.js
vladikoff
1
2.1k
Other Decks in Technology
See All in Technology
文字起こし基盤の信頼性
abnoumaru
0
120
”AIを使う” から ”AIに任せる” へ ─ 開発プロセスを再設計してAIを組織標準にするまで
cyberagentdevelopers
PRO
2
140
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
0
140
キャリアLT会#3
beli68
2
250
全社でのソフトウェアサプライチェーン攻撃対策をやってみた with Takumi Guard
z63d
0
280
reFACToring
moznion
0
200
事業成長とAI活用を止めないデータ基盤アーキテクチャの設計思想
hiracky16
0
550
設計レビューとAIハーネスで向き合う AIが生み出した新しいボトルネックの対処法 / Design Reviews and AI Harnesses Against New Bottlenecks Created by AI
nstock
5
440
AIコード生成×サプライチェーン攻撃 — PHPが直面する“二重の信頼問題
shinyasaita
0
460
「休む」重要さ
smt7174
6
1.6k
変更し続けられるシステムをどう保つか — AI時代のSSoTという設計原則
kawauso
1
1.1k
AmplifyHostingConstructからSSRフレームワークのためのホスティング設計を考察する/amplify-hosting-construct
fossamagna
1
310
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
45k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
270
Speed Design
sergeychernyshev
33
1.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Balancing Empowerment & Direction
lara
6
1.2k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
For a Future-Friendly Web
brad_frost
183
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
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!