Showing posts with label testing. Show all posts
Showing posts with label testing. 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.
Copyright © Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design