English | 日本語

BDD style Unit Testing

Abstract

RSpec is a Behaviour-Driven Development tool for Ruby programmers, and it's popular in many Ruby and Rails projects. MiniTest is the new standard unit testing framework supplied with Ruby 1.9, and it also includes a compact BDD DSL syntax like RSpec. Both of them provide readable and expressive syntax to write test/spec code. This talk will introduce their BDD syntax and its mocks feature. More important, how do we use it to write good unit testing.

Presentation Language

English

Speaker(s)

avatar

Wen-Tien Chang

Ruby Taiwan & Optimis International

張文鈿 (a.k.a. ihower) is the lead software developer at OptimisDev Taiwan. He has worked with Ruby on Rails since 2006. Also, ihower is the founder of Ruby Taiwan community (http://ruby.tw) and RubyConf Taiwan (http://rubyconf.tw). He currently lives in Taipei, blogs at ihower.tw and tweets as @ihower.

Video

http://vimeo.com/26551307

Presentation Material

http://www.slideshare.net/ihower/bdd-style-unit-testing

Back to schedule

Back to top