DEV Community

Discussion on: Write Go unit tests for db CRUD with random data

Collapse
 
quii profile image
Chris James

These look like integration tests to me, not unit tests.

Collapse
 
yangvw profile image
yangvw

I agree, unit tests don't connect to external components such as real databases.