pat / combustion

Simple, elegant testing for Rails Engines
MIT License
708 stars 51 forks source link

Support for Zeus? #60

Closed bguest closed 6 years ago

bguest commented 9 years ago

It's not clear how one would use zeus / spring and combustion at the same time, any thoughts?

pat commented 9 years ago

I've not used Zeus or Spring, so I'm really not sure. If anyone makes any progress on this, I'd love to know.

fgarcia commented 9 years ago

I've been playing with Combustion + Spring (specially since now it comes with Rails)

So far I am having some problems to make everything start, but managed to partially start the dummy with Spring.

I did a fork of @pat repo https://github.com/pat/gutentag and documented all the steps I could. Mostly taken from this thread:

https://github.com/rails/spring/issues/144

Spring does start with the dummy, but there is something wrong with the way the Application is defined. Looking at the error I fear I am duplicating something that Combustion is already doing (app declaration), but I am not sure what I did wrong exactly

My fork notes: https://raw.githubusercontent.com/fgarcia/gutentag/master/README-SPRING.md

pat commented 6 years ago

Closing this issue as it hasn't been touched in a few years. Given the work @fgarcia's gone to for finding a way, it sounds like Spring (and likely Zeus) expects a proper Rails app to exist, rather than Combustion's minimalist approach. People are welcome to revisit this and I'm open to patches generally, but only if we don't end up having a fully fledged Rails app generated (otherwise, there's not much point using Combustion).