Test suitesΒΆ

For each third-party library that is supported, the following tasks are performed:

  1. Configure the test suite to run with Django MongoDB Backend

    1. Evaluate test runner configuration

      1. Depending on the test runner, updating the settings may require copying mongo_apps.py and mongo_migrations to a module that is already included in sys.path.

    2. Update Django settings

      1. Replace the database backend with django_mongodb_backend

      2. Replace contrib apps with MongoDB-compatible apps

      3. Replace test suite apps with MongoDB-compatible apps

    3. Update or disable migrations

      1. Use MongoDB-compatible migrations if not disabled

  2. Run the test suite with Django MongoDB Backend configured

  3. Log the test run results

  4. Update test suite tests as needed

    1. Replace static primary key references with dynamic references or static ObjectId references