is it possible to use it with mongodb? #811
-
I have a BIG project with a lot of tests, I tried to use paratest for it, but the issue is that we are using a mix of MongoDB and Postgress, and it looks like paratest is just creating parallel tests database for Postgress only. is there a way to tell it to do that for multiple drivers? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think your postgresql database configuration already keeps the 'mongodb' => [
'database' => env('DB_DATABASE', 'homestead') . getenv('TEST_TOKEN),
],
See official docs: https://github.com/paratestphp/paratest#test-token |
Beta Was this translation helpful? Give feedback.
I think your postgresql database configuration already keeps the
TEST_TOKEN
in mind. But you need todo the same forMongoDB
. It is based on your framework how you can configure your mongodb connection but you can just post or prefix it with theTEST_TOKEN
normally:See official docs: https://github.com/paratestphp/paratest#test-token