Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: insert tests for some domain level DB models - WIP #974

Merged
merged 11 commits into from
Dec 17, 2021
Merged

Conversation

kevin-kline
Copy link
Contributor

@kevin-kline kevin-kline commented Dec 15, 2021

Description

This is a WIP PR.

The purpose is to create tests on all our DB models prior to our migrations refactor in ticket #806
This is step 1.
We will run the tests again AFTER the refactor to make sure all models behave as expected.

Does this close any open issues?

Relates to: https://github.com/merico-dev/lake/issues/972

Other Information

  • lake_test DB must be created manually to run tests.
  • tests are currently EXPECTED to fail
  • The plan is to create test DB programmatically.
  • Only some of the models are tested here. This needs more work, I'm just putting it up for transparency, feedback, and/or someone else to continue with this.

@joncodo
Copy link
Contributor

joncodo commented Dec 16, 2021

Taking this over for today. We can pair again on it when you get back tomorrow my dude @kevin-kline

@joncodo joncodo marked this pull request as ready for review December 17, 2021 17:26
@joncodo joncodo merged commit 5dcd6fa into main Dec 17, 2021
@joncodo joncodo deleted the kk-migrations branch December 17, 2021 17:26
mamh2021 pushed a commit to golang108/merico-dev-lake that referenced this pull request Apr 10, 2022
feat: insert tests for some domain level DB models - WIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants