Questions tagged [django-nose]

Django test runner that uses nose.

django-nose is a Django test runner that uses nose.

It extends Django's built-in test command allowing to use all nose features and introduces more.

81 questions
0
votes
1 answer

Django 1.8 and how to change migration order for apps

In Django 1.8 using Postgres, how do I change the migration order? I have the following.... AUTH_USER_MODEL = 'users.User' INSTALLED_APPS = [ "test.apps.users", 'django_nose', 'django_coverage', 'oauth2_provider', …
Prometheus
  • 32,405
  • 54
  • 166
  • 302
0
votes
1 answer

django 1.7: Problems loading the initial fixture of the test

Environment: Django version: 1.7.1 Nose version: 1.3.4 django-nose version: 1.2 I have two apps: dog and human The model has: class Dog(models.Model): human = models.ForeignKey('humans.Human', null=False) def askFood(human): …
AlexVanAxe
  • 68
  • 5
0
votes
1 answer

Django nose testing order

I'm using nose with django-nose for my tests But , I'm having troubles ordering my tests in a smart way It's said that nose execute tests in alphabetical order , however , this is not the case with me. no matter what i do (change my code order ,…
Ramez Ashraf
  • 873
  • 6
  • 14
0
votes
1 answer

Test a query using Django nose

I am new to testing in django. I am using django nose for TDD.I am using django nose version 1.2 in my virtual environment. I referred the link below for creating my tests. http://kokoko.fluxionary.net/testing-django-part-1-nose Currently I need to…
user12757
  • 39
  • 1
  • 9
0
votes
1 answer

After running unittests, I want to see all the requests Django has processed

My Django project has ~300 unit tests. I want to see all the URLs (and HTTP methods - GET/POST/etc) that have been used in the course of unit testing. The end goal is to produce two (nose) coverage reports: coverage of all the URLS defined in the…
sjbrown
  • 562
  • 3
  • 5
0
votes
1 answer

Why Django nose test need --exe?

Why do I have to use the --exe argument while I run django-nose tests. If I don't use it, it will skip the tests to run e.g. manage.py test myapp Ran 0 tests in 0.000s while my tests are in the correct place etc. Running it in verbosity 3 it…
michel.iamit
  • 5,788
  • 9
  • 55
  • 74
1 2 3 4 5
6