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

Adopting Pytest #45

Closed
callum-mcdata opened this issue Jul 12, 2022 · 1 comment · Fixed by #65
Closed

Adopting Pytest #45

callum-mcdata opened this issue Jul 12, 2022 · 1 comment · Fixed by #65
Labels
enhancement New feature or request

Comments

@callum-mcdata
Copy link
Contributor

With @dbeatty10 working on a framework for package maintainers to begin introducing pytest into their development cycle, we're presented with an opportunity to beta-test it for something we'd been planning on implementing in the first place!

Why Pytest?

Right now, dbt tests confirm that things are still working but they can't test that expected failure testing. Pytest allows us to introduce errors that we WANT to fail and then test that we're getting the result we want to see.

@callum-mcdata callum-mcdata added the enhancement New feature or request label Jul 12, 2022
@dbeatty10
Copy link

🤩

Currently, this repo is the easiest way I know of to see how the dbt pytest'ing framework works:
https://github.com/dbt-labs/dbt-tests-adapter-custom-tests

If I come across or build anything better, I'll try to remember to update this ticket.

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

Successfully merging a pull request may close this issue.

2 participants