Hi,
I made a gem called 'bump'. Here is the source code:
I want to start writting test but I don't know where to start, I never
wrote tests before.
Basically my gem looks for a gemfile and upgrade the version of the gem.
Where and how do I start?
Greg
···
--
Posted via http://www.ruby-forum.com/.
You can try following Ruby Koans:
http://rubykoans.com/
It introduces the Red, Green, Refactor process endorsed by TDD.
···
--
Luis Lavena
--
Posted via http://www.ruby-forum.com/.
Well, first you should understand that while it's not uncommon to have to
write tests for legacy code with TDD/BDD you normally write your tests first
then you write your code to make the tests pass.
I wrote up a few links to Cucumber and RSpec resources, and TDD/BDD in
general, you can find here:
http://mikbe.tk/2011/03/05/learning-cucumber-rspec/
···
On Tue, Jul 19, 2011 at 7:09 AM, Gregory Ma <g.marcilhacy@gmail.com> wrote:
Hi,
I made a gem called 'bump'. Here is the source code:
GitHub - gregorym/bump: Bump is a gem that will simplify the way you build gems.
I want to start writting test but I don't know where to start, I never
wrote tests before.
Basically my gem looks for a gemfile and upgrade the version of the gem.
Where and how do I start?
Greg
--
Posted via http://www.ruby-forum.com/\.