← Back to context

Comment by jiehong

16 days ago

Great answers below (test containers for example).

However, it’s not always possible.

For example:

- you use oracle db (takes minutes to start, license, hope the containers run on ARM fine, etc.) - sometimes an in memory fake is just much faster, and can be an official db on its own for people to try the product - your storage might be only available through a library by a third party provider that is not available locally.

Could you leave a test Oracle DB running all the time and clear it between tests? I do this with Postgres.