waterlink / spec2.cr

Enhanced `spec` testing library for [Crystal](http://crystal-lang.org/).
MIT License
103 stars 22 forks source link

Add elapsed time support [#25] #28

Closed marceloboeira closed 8 years ago

marceloboeira commented 8 years ago

Try to instanciate and store a Time.now as soon as possible Use the started_at in order to calculate the elapsed time on the abstract report


@waterlink I'm pretty sure that is not the perfect way of doing this, yet it is just a suggestion, I hope we can find the most adequate solution soon.

I haven't tested because I believe we would have to mock time, so I want to know first what you think about the solution.


fixes #25

waterlink commented 8 years ago

LGTM