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

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

Uploaded Source

File details

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

File metadata

  • Download URL: automation-report-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 af7ff4cfcceff56bbf633177aea2b0fd6481b681ab73cbc403638af6269a49b0
MD5 2155d69e2275a0f8a519d9a1167d7713
BLAKE2b-256 2744689570068536e13d1431cf0a4b5e546388ac7b17a9a435318878fade3e7a

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