Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9111209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:27:03+00:00 2026-06-17T03:27:03+00:00

Currently I have big application with huge amount of initial data. Basicly, I have

  • 0

Currently I have big application with huge amount of initial data.
Basicly, I have postgresql dump file and I should apply some migrations to get “good database”.
And application got almost no fixtures to recreate initial data on sync/migrate.

Yes, this is a big pain in the… head.

Anyway, Django copies database to perform testing and everything should work fine. But the problem is – it takes really long time.

I’m thinking about creating custom test-runner to reproduce these operations, but I want to ask you! What you can suggest?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:27:04+00:00Added an answer on June 17, 2026 at 3:27 am

    There are a lot of nice answers on unit-testing with a lot of data

    I have these two on my favorites

    This one by me Unit Testing with Django Models and a lot of relations involved

    and this one by a friend What are the best practices for testing "different layers" in Django?

    You could use a library like FactoryBoy to create as many instances of your models as you want, with different characteristics to test several cases. Here is the doc page for FactoryBoy

    Edit after chat:

    It seems that defining your own test runner is the way to go in this case.

    https://docs.djangoproject.com/en/1.2/topics/testing/#defining-a-test-runner

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing an application that needs to parse some (a big file of)
We have a big java desktop application, which takes about minute to start, Currently
I have some deployment model question for a Java EE web application. Currently we
I currently have an application, where it's primary performance issue is using file-based database
Currently, I have a big CakePHP application with a layout and a lot of
I have big records to copy values from table B to table A. Currently
I am currently developing a big web application. Users will be able to post
I have this nice big Dev Kit written in PHP, but the application I'm
I am currently in the process of developing a a rather big web application
I am currently busy refactoring big parts in my application. The main purpose is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.