Skip to main content

A framework to automatize your tests for data projects

Project description

Ploosh

Ploosh is yaml based framework used to automatized the testing process in data projects.

Get started

Go to the ploosh wiki to find the get started tutorial.

Steps

  1. Install ploosh package
  2. Run tests
  3. Analyse results

Install Ploosh

Install from PyPi package manager:

pip install ploosh

Run tests

ploosh --connections "connections.yml" --cases "test_cases" --export "JSON" --p_my_sql_server_password "mypassword"

Execution result

Test results

[
  {
    "name": "Test aggregated data",
    "state": "passed",
    "source": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.0032982
    },
    "expected": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 6.0933333333333335e-05
    },
    "compare": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.00046468333333333334
    }
  },
  {
    "name": "Test unvalid data",
    "state": "failed",
    "source": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 0.00178865
    },
    "expected": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 1.49e-05
    },
    "compare": {
      "start": "2024-02-05T17:08:36Z",
      "end": "2024-02-05T17:08:36Z",
      "duration": 1.8333333333333333e-07
    },
    "error": {
      "type": "count",
      "message": "The count in source dataset (55) is differant than the count the in expected dataset (0)"
    }
  }
]

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

ploosh-core-0.2.29.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ploosh_core-0.2.29-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file ploosh-core-0.2.29.tar.gz.

File metadata

  • Download URL: ploosh-core-0.2.29.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ploosh-core-0.2.29.tar.gz
Algorithm Hash digest
SHA256 6a964f03d1fe150e9ccec98cf1759f2edd108cd8c8313dda30b3b47fd3addad2
MD5 2c8dcb89bf686e3861e15a7548cb89e8
BLAKE2b-256 6c0b30e8c36769d12aa4f554bd9bd7008f00bff88429ed9447e68aa32bb08cac

See more details on using hashes here.

File details

Details for the file ploosh_core-0.2.29-py3-none-any.whl.

File metadata

  • Download URL: ploosh_core-0.2.29-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for ploosh_core-0.2.29-py3-none-any.whl
Algorithm Hash digest
SHA256 9da8c01f2a86a8fc71a289e3381ca3a16196b5509e9a61b7dbdc9552addbdabc
MD5 5d55d6c9e35131a30b302251d0d1458c
BLAKE2b-256 bf4052c58b04ebd04157ec6a0311dffcff1dcc9c951b20a8c9a103cfb048990c

See more details on using hashes here.

Supported by

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