0

Is there any in memory DB for Python similar to HSQLDB. MySQL is the DB the application uses and for running end to end test cases, we are currently bringing up a clone of actual DB which causes some delay and couple of manual steps.

I have tried SQLite3 facing some trouble with running DDL queries generated for MySQL.

What are the good options for bringing up temporary DB to run all test cases and shut it down after test execution?

Thank you

1
  • 1
    Take a look here. It lists several different options in several answers so make sure you check them down the page. Commented Jan 28, 2019 at 15:30

1 Answer 1

1

MySQL has an in-memory engine (https://dev.mysql.com/doc/refman/5.5/en/memory-storage-engine.html). I've never used, but I guess it will help you run the tests quickly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.