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

前端 未结 2 1893
北荒
北荒 2021-02-04 10:11

I\'ve been working on a Django project for the past few weeks now, and it\'s been fairly smooth sailing. I use Django\'s unittest library to test everything, and th

相关标签:
2条回答
  • 2021-02-04 10:43

    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.

    0 讨论(0)
  • 2021-02-04 10:49

    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

    0 讨论(0)
提交回复
热议问题