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.report import AutomationReport

# Create new object for your first test; Report name is passed as a parameter and report is generated with same name
new_report = AutomationReport("Login Test")

# Use starttest() method to start a new case with its name given as parameter
new_report.starttest("CASE 0001: Test the screen")

# Populate the various steps status with info(), success(), fail() methods for particular case
new_report.info("Page is opened")
new_report.success("Login Successfully")
new_report.endtest()

# End above started case
new_report.endtest()

# Create yet another case as following
new_report.starttest("CASE 0002: Logout")
new_report.info("User is logged in")
new_report.success("Logout link is present")
new_report.fail("User not logged out")
new_report.endtest()
# User close method to finally complete whole report generation
new_report.close()

Screenshots of report of above code

Automation Report

Automation report

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.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file automation-report-1.0.3.tar.gz.

File metadata

  • Download URL: automation-report-1.0.3.tar.gz
  • Upload date:
  • Size: 4.6 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

Hashes for automation-report-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5d10656ecfed22518ca3e3d72202291aba8e6261ac3bc0d009ed0b4641ecf41c
MD5 5ff7e08eaf14ece454c79361b88023ce
BLAKE2b-256 e3465f645ac7557479284a7b60af40e3987d414b2b9c2dd7a33a4769ecef6013

See more details on using hashes here.

Supported by

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