You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project looks amazing, and honestly I'm considering making the switch from sqlx - but the one thing that Is putting me off.
No testing documentation?
Sqlx has an amazing way to run unit tests using a local Postgres DB - this is amazing as you can run extremly thorough tests locally in a fraction of a second.
Is there any guidance on how to test using a library like this? I can't see any easy way of creating an abstraction layer to mock out the functionality.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This project looks amazing, and honestly I'm considering making the switch from sqlx - but the one thing that Is putting me off.
No testing documentation?
Sqlx has an amazing way to run unit tests using a local Postgres DB - this is amazing as you can run extremly thorough tests locally in a fraction of a second.
Is there any guidance on how to test using a library like this? I can't see any easy way of creating an abstraction layer to mock out the functionality.
Cheers for the amazing library!
Beta Was this translation helpful? Give feedback.
All reactions