Showing posts with label behavior. Show all posts
Showing posts with label behavior. Show all posts

Dynamic context in Rspec - don't repeat yourself

Advanced rspec features allow to use very effective technique to organize tests. You are able to construct and define context in more flexible way than before.
We use to have less problems with subject and behavior. And context is what testing is all about. Just because web apps manage data, behavior seriously depends on current state of the database.

When BDD user stories is productive

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.
Copyright © Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design