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

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

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

Uploaded Source

File details

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

File metadata

  • Download URL: automation-report-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 ad702cf3eb755cf62d22161af6655abd724aedb1f579569e66f610239570b280
MD5 bf993910b85c1d459ae144acf7eaf0b5
BLAKE2b-256 a2f2fa7643269d8fb6ce74c1e80a8812a3195fd91a1e5c18ccd9ff94351081f1

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