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
Close
Hashes for automation_report-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f0c7136b0e82171ef263548b3cf59e6b51bb231e20f4bb44101e6d41d844bb |
|
MD5 | 630b287835c2d26aed565a35aefad698 |
|
BLAKE2b-256 | 22e57ffc19beeb096ef1fa1d9718ef73b290b61762ad782ad1e8b288c9cc35bb |