Is there a way to hook Django's unittest into PyUnit in eclipse?

我怕爱的太早我们不能终老 提交于 2019-12-02 23:35:21
ashwoods

I would recommend using Nose for your django tests. Pydev allows you to choose your test runner, and it has support for nose.

I'll let stack explain why and how to integrate nose with eclipse for interactive debugging.

And i'll throw in the django-nose too.

Here's an adapter that lets you use the nose plugin from the django-nose package from the command line. Then you can run your django tests through the Eclipse PyUnit window via nose.

https://github.com/jenniferlianne/django_nose_adapter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!