What I learned this week [1]



Documentation from relish about aggregate_failures

I found it so cool how rspec:

  • execute all the expectation in the group. That way, we can run through all the expectation within one example . It makes sense for all the independent expectation to be executed all, so we can have a better understanding of the test.
  • Also, the way rspec groups and displays error.

Also, the documentation of Relish – RSpec Core 3.5 is much more readable than the official documentation from RSpec core 3.5


A nice way to test multiple objects with slightly different behaviors. Their same behaviours can be grouped into shared_examples


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s