arthurnn / cheatly

A cheat-sheet cli for a cheat repository
MIT License
47 stars 16 forks source link

Use MiniTest::Spec syntax #22

Closed hauleth closed 10 years ago

arthurnn commented 10 years ago

I am not sure about spec on minitest.... If we wanna use spec syntax I think we should use rspec instead of minitest. Anyways, I think we should stick with minitest for the simplicity of it. I think we should try to keep cheatly as simple as possible. Starting with dependencies.

Thanks anyways for the suggestion.

hauleth commented 10 years ago

IMHO spec syntax is much cleaner, and more readable. Also RSpec is over-bloated, slow, and rather big-app specific. In our case we can meet in the middle and use MiniTest::Spec syntax.

There are no deps, as MiniTest::Syntax is built-in in MiniTest (and also in Ruby 1.9.3 which is obvious).

If you mean require 'minitest/pride' it also is built-in, and this will make test output a little bit more fabulous.

arthurnn commented 10 years ago

I think we should stick with normal MiniTest tests, and not spec. Anyways thanks a lot for the PR