Skip to main content

Testing Kit for OVO Big Data

Project description

OVO Test Kit

installation

create installer :

    python3 setup.py sdist bdist_wheel

installer will be at dist/ directory install using :

pip3 install dist/<generated-file>.whl

Quickstart

from ovotestkit import OVOTestKit
import unittest
class TestMlmMerchant(OVOTestKit):
    TABLE_NAME = 'ovo_raw.ovo_smp_mlm_merchant'
    FIELDS = '''
        id BigInt
        merchant_code String
        grab_id String
    '''
    def test_having_no_duplicates(self):
        self.duplicate_check(TestMlmMerchant.TABLE_NAME)


if __name__ == '__main__':
    unittest.main()

more? see examples directories

Functionalities

  • Unit Test
  • Functional Test
    • Communicate to Airflow
    • Communicate to OMT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovotestkit-1.0.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page