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
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
jasmineでBDD -ビヘイビア駆動開発- #TechLunch
2011/08/03(水) @ Livesense TechLunch
発表者:佐藤 洋輔
Livesense Inc.
PRO
April 23, 2014
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
450
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
110
27新卒_総合職採用_会社説明資料
livesense
PRO
0
6.2k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
11k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
520
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
650
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
70k
Other Decks in Technology
See All in Technology
20260720_クラウド女子会×PyLadiesTokyoコラボ Amazon Bedrock ハンズオン用資料
yuuka51
2
110
副作用のある Lambda でも Lambda Power Tuning は使えるのか / lambda-power-tuning-side-effects
koukihosaka
2
140
AI x 開発生産性を取り巻く予算戦略と投資対効果
i35_267
7
2.9k
Oracle Exadata Database Service on Cloud@Customer X11M (ExaDB-C@C) サービス概要
oracle4engineer
PRO
2
8.5k
VPCセキュリティ対応の最新事情
nagisa53
1
290
複数プロダクト組織のAIネイティブ化における戦略 / AICon2026_kude
rakus_dev
0
300
複数プロダクトで進めるAI機能実装 ── 実践から得たリアルな学びとロードマップ実現への挑戦 / AICon2026_yanari
rakus_dev
1
270
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
620
Vポイント分析基盤におけるデータモデリング20年史
taromatsui_cccmkhd
4
730
“それは自分の仕事じゃない"を越えて行け
yuukiyo
1
520
非定型なドキュメントを効率よくリファクタする 〜えぇ!?仕様書27本の移行が1日で終わったって!?〜
subroh0508
2
620
OpenTelemetryにおけるGoのゼロコード・コンパイル時計装について #fukuokago
quiver
0
230
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
460
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
380
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
How to Talk to Developers About Accessibility
jct
2
430
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
590
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
GitHub's CSS Performance
jonrohan
1033
470k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
640
Paper Plane
katiecoart
PRO
2
52k
WENDY [Excerpt]
tessaabrams
11
38k
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 入門