DEV Community

Discussion on: NodeJS - Unit Tests - testing without hitting database. Confusings.

Collapse
 
bgadrian profile image
Adrian B.G.

I saw that the new trend is to make the integration tests with real databases, that are spawned for each test, using a docker integration.

Power of the containers to the rescue!

Collapse
 
allstackdev profile image
AllStackDev ๐Ÿ‘จโ€๐Ÿ’ป

How can one do that?

Collapse
 
bradleykingz profile image
Bradley Kingsley

A good place to start is learning Docker

Thread Thread
 
allstackdev profile image
AllStackDev ๐Ÿ‘จโ€๐Ÿ’ป

How time has gone by, now familiar with the tools. Thanks.