DEV Community

Discussion on: How to minimize RSpec `describe`/`context` nesting

Collapse
 
danielgomezrico profile image
Daniel Gomez

I like to nest things too, I believe that some tests share the same preconditions should be nested, I don't see why it is hard to read, maybe showing some examples on how that is hard to read.

I saw a lot of "plain tests" which are also hard to read, so I don't believe that is a reason to sacrifice this.