Skip to content
Branch: master
Find file History

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Gemfile
Gemfile.lock
README.md
calculation.rb
no_test_1.rb
no_test_2.rb
no_test_3.rb
tdd_1.rb
tdd_2.rb
tdd_3.rb
tdd_4.rb
tdd_5.rb
tdd_6.rb
tdd_7.rb
tdd_8.rb

README.md

Testing Ruby

Demo code for my "Testing Ruby" lecture at Hack Bulgaria's Core Ruby course.

Slides can be found at Speaker Deck.

Installation:

gem install bundler
bundler install

Running examples:

ruby no_test_1.rb
ruby no_test_2.rb
ruby no_test_3.rb

ruby tdd_1.rb
ruby tdd_2.rb
ruby tdd_3.rb
ruby tdd_4.rb
ruby tdd_5.rb
ruby tdd_6.rb
ruby tdd_7.rb
ruby tdd_8.rb

Final code:

ruby calculation.rb
You can’t perform that action at this time.