Skip to main content

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automation-report-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

automation_report-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page