Support for Minitest?
Closed this issue · 5 comments
ericpeters0n commented
yes/no/maybe/already?
pat commented
I've not used Combustion with Minitest, nor does anything within it exist specifically for that purpose, but patches are very much welcome. It was discussed briefly in #4, but nothing detailed.
ericpeters0n commented
Thanks for the reply. I’ll poke at it to explore feasibility and effort when I get a chance! :)
jmervine commented
FWIW, I was able to use this with Minitest by creating a test/test_helper.rb
file, which I required in each of my tests files...
#file: test/test_helper.rb
require "combustion"
Combustion.path = "test/internal"
Combustion.initialize! :all
Note; I'm only testing Railties here, not submitting http requests, so I'm not sure about that.
pat commented
Thanks for sharing that Joshua, great to hear it's working for you :)
fschwahn commented
I did exactly the same, also works flawlessly. I'm doing integration tests, however I'm not using activerecord.