Opened 8 years ago

Last modified 8 years ago

#26448 closed Cleanup/optimization

Improve docs for running tests using a different database — at Version 1

Reported by: Anna Schneider Owned by: nobody
Component: Documentation Version: 1.9
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Anna Schneider)

For new contributors working on contrib.postgres, it is confusing when the tests in postgres_tests are skipped by default. Some possible improvements include:

In the "skipped tests" paragraph of https://docs.djangoproject.com/en/1.9/intro/contributing/#running-django-s-test-suite-for-the-first-time, mention that another reason that tests might get skipped is if the tests are specific to a non-sqlite database. Add a link to https://docs.djangoproject.com/en/1.9/internals/contributing/writing-code/unit-tests/#using-another-settings-module to help people use a different settings module.

In https://docs.djangoproject.com/en/1.9/internals/contributing/writing-code/unit-tests/#using-another-settings-module, clarify that the default settings module is located at django/tests/test_sqlite.py.

Change History (1)

comment:1 by Anna Schneider, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top