Hi,

I often create integration programs in Ruby that utilize ActiveRecord without the full Rails stack. So I wonder what the best way would be to fully utilize Cucumber and RSpec for BDD in this context.

1. Should I still include rspec-rails so hopefully at least the Model support is available? 2. If so do I need to (or should I) create a similar directory structure to a Rails app? 3. Would it make any sense to use a generator to create the directory structure if not using views and a web server?

-----------------------------

Of less importance:

Actually I have considered creating/converting these integration applications as full blown Rails applications since they definitely have a model and controller aspect and the Rails framework provides so many built-in features and extensions. But I can’t find a way to run a Rails app without the use of a server which I really don’t need.

Eventually it might be desirable that some or all of the integration logic be exposed as web services and if so perhaps a traditional Rails app deployed on a server to provide the web services would trump the overhead of requiring a server.

------------------------------


Thanks,
Carl

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to