阅读背景:

如何在Django中测试单个应用程序(而不是项目)?

来源:互联网 

I would like to test my small application, that I keep in a separate package. Right now I created a "test_project" directory, created a test project there and I am using the project's manage.py to run tests. But I keep wondering - is there a better method? Is it possible to launch a single app's tests, perhaps with some default configuration (like, sqlite database)?I would like to test my small application, that




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

分享到: