Simple report for your test automation including various cases/steps specifying its valid status.
Project description
automation-report
Python package to generate HTML report of your automation cases and its steps with its valid status.
Installation
$ pip install automation-report
Code Example
# Importing package
from automation_report import report
# Use starttest() method to start a new case with its name given as parameter
report.starttest("CASE 0001: Test the screen")
# Populate the various steps status with info(), success(), fail() methods for particular case
report.info("Page is opened")
report.success("It works")
report.fail("Well, it didn't worked.")
# End above started case
report.endtest()
# Create yet another case as following
report.starttest("CASE 0002: Another case")
report.info("DOnet screen")
report.success("It works")
report.endtest()
# User close method to finally complete whole report generation
report.close()
Screenshots of report of above code
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automation-report-1.0.2.tar.gz.
File metadata
- Download URL: automation-report-1.0.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f816b7ec8e329cf662553503a9c1c60a669ea0f022dfe82989b9e53191c949c1
|
|
| MD5 |
af46a1cf3d40b323a2686112410bb8e5
|
|
| BLAKE2b-256 |
00f185e78781ab770cf97f52ecf50caa907c89a0209238f8f869f24807e88a47
|
File details
Details for the file automation_report-1.0.2-py3-none-any.whl.
File metadata
- Download URL: automation_report-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3f0c7136b0e82171ef263548b3cf59e6b51bb231e20f4bb44101e6d41d844bb
|
|
| MD5 |
630b287835c2d26aed565a35aefad698
|
|
| BLAKE2b-256 |
22e57ffc19beeb096ef1fa1d9718ef73b290b61762ad782ad1e8b288c9cc35bb
|