Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Test function to facilitate database seeding. #19

Open
eddiew opened this issue Dec 10, 2018 · 1 comment
Open

Test function to facilitate database seeding. #19

eddiew opened this issue Dec 10, 2018 · 1 comment
Labels
enhancement New feature or request.

Comments

@eddiew
Copy link
Collaborator

eddiew commented Dec 10, 2018

Something built on top of testWithResource most likely, although I'm not sure exactly how it should look.

@eddiew eddiew changed the title Add test function to facilitate database seeding Test function to facilitate database seeding Dec 10, 2018
@whaatt whaatt changed the title Test function to facilitate database seeding Test function to facilitate database seeding. Dec 10, 2018
@whaatt whaatt added priority: medium enhancement New feature or request. labels Dec 10, 2018
@whaatt
Copy link
Collaborator

whaatt commented Dec 10, 2018

interface proposal -- user passes an ordered list of Pg () actions per test that get run on a fresh database (dropping tables is possible in beam-migrate, and we can make a type class around dropping/generating a schema for each Specific t db instance).

only tricky thing is that these tests can't run async, which is probably okay

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants