阅读背景:

如何使用SqlAlchemy从数据库生成fixture

来源:互联网 

I'm starting to write tests with Flask-SQLAlchemy, and I'd like to add some fixtures for those. I have plenty of good data for that in my development database and a lot of tables so writing data manually would get annoying. I'd really like to just sample data from the dev database into fixtures and then use those. What's a good way to do this?I'm starting to write tests with Flask-SQLAlche




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: