implement our own around with multiple calls and intuitive interface#8
implement our own around with multiple calls and intuitive interface#8
Conversation
|
@splattael what do you think about this approach ? |
|
@grosser I think trading rspec-semantics for a much simpler implementation is fair! :) |
|
not using rspec & rails(around_action) & rack(app.call) semantics turns this line So I prefer that to the way minitest-hooks does it + I like having multiple before/after/around blocks instead of just overwriting without warning. Also minitest-hooks implements all in a broken way, so I'd rather not have that then have a broken implementation ... vs rspec (intuitive 1 before/after for |
|
@grosser gotcha! I'm still not sure about the before/after semantics. As far as I can see we have 3 different now:
I'm lost here :-( |
|
Fibers are most 'correct', but they don't play nice with Thread.current so maxitest approach / pre-fibers is maybe better since it works unless you I don't like the hooks approach because it's a never-seen-before way of I guess the before/after :all is also 'ok' since it's a step forward from I guess I'll include minitest-hooks but make it use test.call semantics + On Mon, Jun 1, 2015 at 11:48 PM, Peter Suschlik notifications@github.com
|
No description provided.