Custom rSpec matchers and macros with Amir Barylko
Details
We just learned about writing elegant tests with rSpec, now let's make our tests better!
In this session we will explore some tools that can help us write more descriptive tests and avoid code repetition.
First we will look into custom matchers to help us capture common assertions that are part of our domain and reuse them multiple times to increase clarity.
Then we will explore writing macros to simplify setup code and look at shared examples to define traits that can be reuse to describe expected behaviour and functionality.
