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.
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
10
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
0
1.4k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
370
26新卒_総合職採用_会社説明資料
livesense
PRO
0
8.5k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
1
25k
26新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
1
12k
中途セールス職_会社説明資料
livesense
PRO
0
250
EM候補者向け転職会議説明資料
livesense
PRO
0
120
コロナで失われたノベルティ作成ノウハウを復活させた話
livesense
PRO
0
240
Other Decks in Technology
See All in Technology
2025/6/21 日本学術会議公開シンポジウム発表資料
keisuke198619
2
390
DroidKnights 2025 - Jetpack XR 살펴보기: XR 개발은 어떻게 이루어지는가?
heesung6701
1
120
doda開発 生成AI元年宣言!自家製AIエージェントから始める生産性改革 / doda Development Declaration of the First Year of Generated AI! Productivity Reforms Starting with Home-grown AI Agents
techtekt
0
170
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
190
API の仕様から紐解く「MCP 入門」 ~MCP の「コンテキスト」って何だ?~
cdataj
0
170
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
3
960
上長や社内ステークホルダーに対する解像度を上げて、より良い補完関係を築く方法 / How-to-increase-resolution-and-build-better-complementary-relationships-with-your-bosses-and-internal-stakeholders
madoxten
13
7.8k
OpenTelemetry Collector internals
ymotongpoo
5
550
Tenstorrent HW/SW 概要説明
tenstorrent_japan
0
400
「どこにある?」の解決。生成AI(RAG)で効率化するガバメントクラウド運用
toru_kubota
2
440
Perk アプリの技術選定とリリースから1年弱経ってのふりかえり
stomk
0
110
今からでも間に合う! 生成AI「RAG」再入門 / Re-introduction to RAG in Generative AI
hideakiaoyagi
1
180
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Code Reviewing Like a Champion
maltzj
524
40k
Code Review Best Practice
trishagee
68
18k
Bash Introduction
62gerente
614
210k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
780
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
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 入門