Tag: bdd
Ultimate rspec matcher to test named_scope or scoped
Jul.11, 2010
After having a good practice on using Ultimate rspec matcher to test validation I think it’s time to implement one for testing named scopes - custom finders. Testing these finders is daily task. Here is how it can be done with minimum amount of code and maximum readability.
(continue reading…)
1 Comment
:ActiveRecord, bdd, matcher, named_scope, rspec
more...
When BDD user stories is productive
Jun.29, 2009
When you are skilled Unit tests writer it is not very easy to estimate the potential of BDD. Moreover in most cases BDD is used as a human-readable wrapper for unit tests. Do you really think that programmers need such abstract layer? Of course not… Users needs them.
(continue reading…)
1 Comment
:application, bdd, behavior, criticism, tdd, test, user story
more...
(continue reading…)