Hi, i woud like to do some automated backend tests...
# support-questions-legacy
r
Hi, i woud like to do some automated backend tests in nestJS. is there an easy way get credentials, for some "dev users" in development stage?
r
hey @rankala
the best way to do this is to run a self hosted core with in memory database and connect to that during testing
r
and then, the idea is to clear the db for each test?
r
You can do that by making a new app in the in memory db for each test and deleting that app.
Even though the link above says it’s a paid feature, for in memory db, it’s totally free
r
i see. okey thanks
how do i launch the in memory version? dont tprovide a db?
r
Exactly
r
alright, thanks
3 Views