atc-net / atc-dataplatform

A common set of python libraries for DataBricks
https://atc-net.github.io/repository/atc-dataplatform
MIT License
8 stars 3 forks source link

Create common pattern for unit/integration testing #213

Open LauJohansson opened 1 year ago

LauJohansson commented 1 year ago

In order to streamline how we do testing we need a common way of doing unit/integration tests.

How do we:

LauJohansson commented 1 year ago

Ideas for decorating and testing exceptions: https://testfixtures.readthedocs.io/en/latest/exceptions.html#the-should-raise-decorator

Same with warnings: https://testfixtures.readthedocs.io/en/latest/warnings.html#the-shouldwarn-context-manager