xtesting-db-populate
Script to populate xtesting-db with project, tests cases and pods.
This application read local xtesting files and variables to populate test databases.
Install
pip install xtesting-db-populate
Requirements
To create projects and populate tests cases, testcases.yaml file
is Mandatory
To get the testapi url, the Mandatory variable TEST_DB_URL must
be set with the value of the test api url
(https://testapi.test/api/v1/)
If you want to set pods, One of the two may be set:
- an environment variable
NODE_NAMEmust be set to the pod value (pod1) - a file
pods.yamlthat should be like:--- pods: - pod1 - pod2
Usage
! ~/D/v/a/v/xtesting_project testing-db-populate
🎯 get testapi url [success]
📤 read pods.yaml [success]
🤖 populate pod "pod1" [skipped]
🤖 populate pod "pod2" [skipped]
📤 read testcases.yaml [success]
📦 populate project "project1" [skipped]
📋 populate case "test 1" [skipped]
📋 populate case "test 2" [skipped]
📋 populate case "test 3" [skipped]
📋 populate case "test 4" [skipped]
To specify the folder where is store testcases.yaml et pods.yaml add
the folder path as argument. As an example if they are on tests
folder:
! ~/D/v/a/v/xtesting_project testing-db-populate tests
🎯 get testapi url [success]
📤 read pods.yaml [success]
🤖 populate pod "pod1" [skipped]
🤖 populate pod "pod2" [skipped]
📤 read testcases.yaml [success]
📦 populate project "project1" [skipped]
📋 populate case "test 1" [skipped]
📋 populate case "test 2" [skipped]
📋 populate case "test 3" [skipped]
📋 populate case "test 4" [skipped]
Metadata
Release files for xtesting-db-populate 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xtesting-db-populate-1.3.2.tar.gz | 6.2 kB | Without provenance | Details for xtesting-db-populate-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xtesting_db_populate-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for xtesting_db_populate-1.3.2-py3-none-any.whl |
Total release size: 11.6 kB
Release files / xtesting-db-populate-1.3.2.tar.gz
| Download URL | xtesting-db-populate-1.3.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4a984c167e9e2e7ad98aab91d496516745d5dcc23de01a2d42e116bf689119a
|
|
BLAKE2b-256 checksum How to use checksums |
c1c0aacdcb07224616666091c5785ecfc426affaca417e9d0900fe073bbadfe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / xtesting_db_populate-1.3.2-py3-none-any.whl
| Download URL | xtesting_db_populate-1.3.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7c7a79182dc4b5c52f180f60536ae9165aa4d8707e7786c2a6b011b8c46e564
|
|
BLAKE2b-256 checksum How to use checksums |
400c098a090c96cd70837545c34a06b4d584ce587b2972199c300a969016b4ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for xtesting-db-populate 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.