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
Frontend Testing
Search
Sebastiaan Deckers
April 01, 2013
Programming
3
340
Frontend Testing
Test All The Things: Code hinting, unit testing, functional testing.
Sebastiaan Deckers
April 01, 2013
Tweet
Share
More Decks by Sebastiaan Deckers
See All by Sebastiaan Deckers
Commons Host: Building a CDN for the rest of the world
sebdeckers
1
130
SVG Reality
sebdeckers
5
140
About Sebastiaan
sebdeckers
0
150
Frontend 100
sebdeckers
1
490
Frontend 101
sebdeckers
4
550
Frontend 102
sebdeckers
3
490
Frontend 103
sebdeckers
2
490
Grunt: The JavaScript Task Runner
sebdeckers
8
400
Other Decks in Programming
See All in Programming
AI時代の開発者評価について
ayumuu
0
190
Bedrock×MCPで社内ブログ執筆文化を育てたい!
har1101
6
1.1k
Sharing features among Android applications: experience feedback
jbvincey
0
110
スモールスタートで始めるためのLambda×モノリス(Lambdalith)
akihisaikeda
2
300
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
1
3.4k
これだけは知っておきたいクラス設計の基礎知識 version 2
masuda220
PRO
24
6.6k
プロダクト横断分析に役立つ、事前集計しないサマリーテーブル設計
hanon52_
2
470
Laravel × Clean Architecture
bumptakayuki
PRO
0
110
AHC045_解説
shun_pi
0
560
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
230
ASP.NETアプリケーションのモダナイゼーションについて
tomokusaba
0
120
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
1.2k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.7k
Six Lessons from altMBA
skipperchong
27
3.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
Done Done
chrislema
183
16k
Optimising Largest Contentful Paint
csswizardry
36
3.2k
How to train your dragon (web standard)
notwaldorf
90
6k
How GitHub (no longer) Works
holman
314
140k
Transcript
Test all the things! Code hinting Unit testing Functional testing
Frontend :( • Testing is hard weird • Not sure
what to test • TIMTOWTDI
How I learned to stop worrying and love tests.
Why How I learned to stop worrying and love tests.
editor holy war hard vs soft tabs code readability syntax
consistency team.length > 1
comments are lies documentation is fiction intent !== effect document
behaviour, not implementation // this is not a doc
downtime is $ never deploy a broken app env.production =
true;
N builds / day triggered by any developer who broke
the build? ship it
Then how?
It's the little things: line length, camel casing, tabs/spaces, ...
Benevolent dictator of syntax JSHint
nodeunit DRY bug fixing Behaviour is documented, implementation is verified.
"How did that utility work again?"
CasperJS Run high-level tests on a headless WebKit "Do all
our features still work?"
Demo https://github.com/cbas/demo-testing https://travis-ci.org/cbas/demo-testing
I am Sebastiaan I email
[email protected]
I blog ninja.sg I
work cf.sg I code git.io/seb