Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Objects behaviour inheritance with RSpec

About half of a year ago I was writing about object interface and Liskov Substitution Princeple. In short: Any class instance that extends the base class should pass all unit tests behaviour tests written for base class instance. It was a surprise for me that this concept has already been implemented in RSpec.


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