Replies: 1 comment 1 reply
-
|
Minitest sounds appealing given the smaller dependency footprint, less complexity, and the fact that its distributed with Ruby. I'd like to see how far we could get with Minitest and only introduce RSpec if there's a compelling reason to do so (i.e. less is more). Plus, for wire testing, it looks like webmock actually supports both Minitest and RSpec (if we ever choose to explore that dependency in the future). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is still a draft!
Options
There are generally two options when it comes to unit testing in Ruby: RSpec and minitest.
### RSpec
describe,context, anditblocks to define specificity of testsexpect(Imdb::VERSION).not_to be nilcan be read out loud and you would know what you mean)minitest, and an extra dependencyMinitest
test_minitestdoes offer a DSL, but a minimal one (see Specs section of the README)Beta Was this translation helpful? Give feedback.
All reactions