Ploosh
Ploosh is yaml based framework used to automatized the testing process in data projects.
Get started
Go to the ploosh documentation to find the get started tutorial.
Steps
- Install ploosh 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)"
}
}
]
Metadata
Release files for ploosh 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ploosh-0.6.0.tar.gz | 38.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ploosh-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 95.7 kB
Release files / ploosh-0.6.0.tar.gz
| Download URL | ploosh-0.6.0.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a16b91499f6db8dfd443f01ac7f3c9cbbc07b9e6c52c150b8cf2b79325a063c
|
|
BLAKE2b-256 checksum How to use checksums |
059c3ee9082d8aeef95b316094e76277d8e17deb77a26d8be7a3fccc702e6ec4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / ploosh-0.6.0-py3-none-any.whl
| Download URL | ploosh-0.6.0-py3-none-any.whl |
|---|---|
| Size | 57.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46b1a4d7904eae6ccf736f921a3979f2edbe715e49940026e4862c7cd6fab095
|
|
BLAKE2b-256 checksum How to use checksums |
caeaf4b69b404da2294e23439a4b38d16cdf438da718d29d6ec1ae0d17f5f7f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|