Hi,

I'm testing an app doing it with django-nose.NoseTestSuiteRunner. Now
I want to use django-coverage by default, it got an own test-runner
function. Is there a way to concat those two testrunner? ATM I'm doing
it as follows:

from django_nose import NoseTestSuiteRunner

def runtests(*test_args):
    if not test_args:
        test_args = ['tracking.tests']
    parent = dirname(abspath(__file__))
    sys.path.insert(0, parent)
    nosetestsuite = NoseTestSuiteRunner(verbosity=1, interactive=True,
failfast=False)
    failures = nosetestsuite.run_tests(test_labels=test_args)

    sys.exit(failures)

the runtests-function is set as test_suite in my setup.py.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to