Astronuts Python Reporter
Astronuts Reporter is a powerful tool that generates test reports. It's designed to be easy to use.
Installation
To install Astronuts Reporter, open your terminal and run the following command:
Using Pip
pip install astronuts-python-reporter
This command installs Astronuts Reporter as a development dependency in your project.
Usage
To generate a test report, run the following command in your terminal:
astronuts-generate
This command tells Astronuts Reporter to start generating test reports.
Integration with Build Scripts
You can also integrate Astronuts Reporter into your build scripts for automatic report generation. This can be particularly useful in continuous integration (CI) environments where tests are run automatically.
Add Astronuts Reporter to your requirements.txt file:
astronuts-python-reporter
Then, you can install this dependency in your workflow file (e.g., .yml):
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate reports
run: |
astronuts-generate
In this example, the pytest command runs the tests and generates a JUnit XML report. Astronuts Reporter then uses this report to generate a test report. Whenever your workflow runs the command astronuts-generate, Astronuts Reporter will automatically generate a test report.
Please note that this library is to be used in conjunction with the Astronuts code quality action. You can download the app from the Github.
Metadata
Release files for astronuts-python-reporter 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| astronuts-python-reporter-0.0.4.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| astronuts_python_reporter-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / astronuts-python-reporter-0.0.4.tar.gz
| Download URL | astronuts-python-reporter-0.0.4.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
578e778c020df288e380570b1a979b77171048e2e22d3343b4d9a50bb51fd6d7
|
|
BLAKE2b-256 checksum How to use checksums |
10fd0ab58d3537ebaf0567c46619a2bd468034648323785c3b0514b120548f14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.4
|
Release files / astronuts_python_reporter-0.0.4-py3-none-any.whl
| Download URL | astronuts_python_reporter-0.0.4-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91144f4313d945c792fe9bd22f322da4a1df36078333cffcdc33bd57c2393bf9
|
|
BLAKE2b-256 checksum How to use checksums |
f9d4a276c37459a5662936dfc7eecce64689b0ad1ea849dedb1e50c0ddf1d393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.4
|