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 PyJeb 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-0.1.7.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

ploosh-0.1.7.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file ploosh-0.1.7.1.tar.gz.

File metadata

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

File hashes

Hashes for ploosh-0.1.7.1.tar.gz
Algorithm Hash digest
SHA256 1bcb18968a59d8fd8ee233afa9f9a3ea83c586d105d43f136e9ba16b1f723b69
MD5 90d1dae56756d315a9ee3fae72338847
BLAKE2b-256 37845904768f3dd95dfee3d09b986cf14fa998973e3a8cf52303b19070112cf5

See more details on using hashes here.

File details

Details for the file ploosh-0.1.7.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ploosh-0.1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38e544c1c8c18843a7b8f45992f6d593166320e797990995cb14fe59b4fa084d
MD5 9b8de736422606bc36ff71de72cb78bb
BLAKE2b-256 7b931699818e0e485a70e6d8931922c24c9723e9aff90349b211e15ede12be15

See more details on using hashes here.

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