开发者

Rails functional testing without migrations

The name pretty much says it all. Does anyone know how to accomplish functional testing when you are not using migrations in Rails? I'd be open to any advice or third party libraries (if there are any). I thought of c开发者_运维知识库reating my own plugin to address this but it seems like a pretty big task and would rather not do this unless necessary.

Thanks in advance.


http://github.com/jpignata/temping

Temping allows you to create arbitrary ActiveRecord models backed by a temporary SQL table for use in tests.


It appears that there is no "easy" way to do this. I'm looking into RSpec rails to see if it can be modified to not use migrations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜