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
E2E testing in JS (Eindhoven Developers Meetup)
Search
Niels Vleeming
February 06, 2018
Programming
0
58
E2E testing in JS (Eindhoven Developers Meetup)
Niels Vleeming
February 06, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
両面どころかインフラもTSでできるよ ~ 全方位TypeScriptによるプロダクト開発 ~
myfinder
8
2.1k
クソコード動画『カプセル化 Mk-II』 で考える 上手くカプセル化できない理由 / encapsulation2
minodriven
11
7.1k
ドメイン・ファーストで考える問題解決に役立つモデル設計 / Domain First Model Design
suzushin54
1
960
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
4
840
TCA魔法学入門🪄
dazy
0
280
オブジェクトしこう
okuramasafumi
2
130
導入から5年が経って見えた Datadog APM 運用の課題
bgpat
2
540
オブジェクト指向コードレビューの新しいアプローチ
akkie76
3
1.1k
20240301_cocone_EMゆるミートアップvol6_LT資料
cocone
0
310
【KMC春合宿2024】実装視点で見るNeural Radiance Fields
runningoutrate
0
150
MySQL のインデックスの種類をおさらいしよう! / overviewing indexes in MySQL
okashoi
0
170
Ruby製社内ツールのGo移行
bgpat
2
260
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
40
12k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.8k
Ruby is Unlike a Banana
tanoku
95
10k
Navigating Team Friction
lara
177
13k
Faster Mobile Websites
deanohume
296
30k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
From Idea to $5000 a Month in 5 Months
shpigford
376
45k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
111
35k
The Power of CSS Pseudo Elements
geoffreycrofte
58
4.9k
Designing the Hi-DPI Web
ddemaree
275
33k
Infographics Made Easy
chrislema
237
18k
Transcript
EINDHOVEN DEVELOPER MEETUP
END TO END TESTING IN JS Niels Vleeming 5-2-2017
None
None
None
None
None
THE CURRENT LANDSCAPE
UNIT TESTING • AVA • Jasmine • Mocha • Tape
ASSERTIONS • Chai • expect.js • should.js
SPIES, STUBS, AND MOCKS • sinon.js • Kakapo.js
FRAMEWORKS • Intern • Karma • Jest
HOSTED SERVICES • Browserling • BrowserStack • CrossBrowserTesting.com • Nightcloud.io
• Sauce Labs
AND MORE! • CasperJS • Nightmare • Nightwatch • TestCafe
• gremlins.js • Percy • BackstopJS • PhantomCSS
JEST
JEST
> EASY TO SET UP > EASY TO WRITE TESTS
> EASY TO MAINTAIN
WHY DOES E2E TESTING SUCK
SETUP
None
None
None
None
None
None
None
None
:(
None
WRITING
None
None
STATELESS NO CONTROL SLOW
MAINTENANCE
NO FLAKINESS EASY CI SETUP EASY TO DEBUG NO WORRIES
None
None
OPEN SOURCE WRITTEN IN JS IMPROVE TESTING EXPERIENCE
SETUP
None
WRITING
TEST RUN IN THE BROWSER
None
None
None
None
None
None
None
BUILT-IN TOOLS
None
None
None
None
DEMO TIME!
ANYTHING BAD?
COST?
FINAL THOUGHTS
FIN • @niels_vleeming • github.com/vlemert