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
jasmineでBDD -ビヘイビア駆動開発- #TechLunch
Search
Livesense Inc.
PRO
April 23, 2014
Technology
0
190
jasmineでBDD -ビヘイビア駆動開発- #TechLunch
2011/08/03(水) @ Livesense TechLunch
発表者:佐藤 洋輔
Livesense Inc.
PRO
April 23, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
98
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
15
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
0
1.4k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
390
26新卒_総合職採用_会社説明資料
livesense
PRO
0
8.8k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
27k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
12k
中途セールス職_会社説明資料
livesense
PRO
0
250
EM候補者向け転職会議説明資料
livesense
PRO
0
120
Other Decks in Technology
See All in Technology
OPENLOGI Company Profile for engineer
hr01
1
33k
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
300
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
220
Tech-Verse 2025 Keynote
lycorptech_jp
PRO
0
1.3k
OPENLOGI Company Profile
hr01
0
67k
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
200
Liquid Glass革新とSwiftUI/UIKit進化
fumiyasac0921
0
300
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
4
1.4k
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
4
3.5k
生まれ変わった AWS Security Hub (Preview) を紹介 #reInforce_osaka / reInforce New Security Hub
masahirokawahara
0
370
Connect 100+を支える技術
kanyamaguc
0
150
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
940
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Music & Morning Musume
bryan
46
6.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
How STYLIGHT went responsive
nonsquared
100
5.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
It's Worth the Effort
3n
185
28k
Building Adaptive Systems
keathley
43
2.6k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Raft: Consensus for Rubyists
vanstee
140
7k
For a Future-Friendly Web
brad_frost
179
9.8k
How to train your dragon (web standard)
notwaldorf
94
6.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Transcript
Jasmine で BDD - ビヘイビア駆動開発 - -Table of contents- •
BDD とは • BDD フレームワーク • Jasmine Basic • Fight With DOM • Continuous Testing Powered by
ビヘイビア駆動開発とは -TDD の場合 - • Test • Test Case -BDD
の場合 - • Spec • Example • 構造よりも振る舞い • テストに要求仕様 (Spec) を添える • テストであることには違いない • 説明的で綺麗に書かれた TDD≒BDD
BDD フレームワーク
Jasmine Basic • describe • xdescribe • beforeEach • it
• xit • matcher https://github.com/pivotal/jasmine/wiki/Matchers
Fight With DOM • http://blog.carbonfive.com/2011/07/06/pragmatic-jav • https://github.com/velesin/jasmine-jquery • https://github.com/pivotal/jasmine-ajax/blob/master/
Continuous Testing • 速いテスト – Node.js – モックフレームワーク • 信頼できるテスト
– Watchr – なにかしらの Assert – ネットワークを避ける • 網羅的なテスト – You write tests until fear transmutes to boredom
今後の予定 その他 1.Clojure で Swing 2.Benten & SVN & Symfony
で i18n JavaScript シリーズ 1.CoffeeScriptInDepth 2.Jasmine でビヘイビア駆動開発 3.BackBone.js でクライアントサイド MVC 4.Node.io で Web スクレイピング Ruby シリーズ 1.RSpec でもっと BDD 2.Haml/Sass/Compass/Coffee Script in Rails 3.Ruby System Administration Scala シリーズ 1.Kojo で Scala 入門 2.Scala で Play! Framework 3.Scala で Android 入門