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
- Install PyJeb package
- Run tests
- 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"
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
Release history Release notifications | RSS feed
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.2.9.tar.gz
(14.3 kB
view details)
Built Distribution
ploosh-0.2.9-py3-none-any.whl
(22.4 kB
view details)
File details
Details for the file ploosh-0.2.9.tar.gz
.
File metadata
- Download URL: ploosh-0.2.9.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e849eedfaf624e227eb9113e3cb67942ca0a1a56c003c121dc8b0958f69dbbd |
|
MD5 | 9fb2d23341a7257c03414944e6fb1d4c |
|
BLAKE2b-256 | e79ef5505f03a7d64fdcd57966b0da17392775a7fb5480e1c7c148cbdfcc5b54 |
File details
Details for the file ploosh-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: ploosh-0.2.9-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 545059e2ab212c93af5fb78a6fdf48eecb6de7c21cbd3daecdbccfbb17035d95 |
|
MD5 | 933f3f969396aefa389f2fa7871d3efd |
|
BLAKE2b-256 | 48094d61a61c5847131ee756eb80f292dd7b20fff3a360410bf73fdac3f8fbfb |