-
|
I want to add e2e tests to my project, and I want to know how to use a different database for tests? Should I create a new edgedb project and give it a different root folder path? Or is there a better way? I would actually prefer creating a test_db database, and be able to point the current edgedb project to it using environment variables. That would be super neat as I won't have to change anything in my code base. One more thing, is there some documentation for the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Use the
We expect that you wouldn't normally need to modify the file directly, it's usually created and modified by |
Beta Was this translation helpful? Give feedback.
-
|
Is this still the recommended way in 2025 with geldata ? I think a lot changed under the hood. 🤔 |
Beta Was this translation helpful? Give feedback.
Use the
EDGEDB_DATABASEenvironment variable to specify which database inside an instance to connect to.edgedb.tomlis currently only used as anedgedb projectmarker and can specify the version of EdgeDB server to be used with the project:We expect that you wouldn't normally need to modify the file directly, it's usually created and modified by
edgedb project initandedgedb project upgrade.