Metadata-Version: 2.1
Name: automation-report
Version: 1.1.0
Summary: Generate HTML report four test cases / Automation cases including multiple casess with its steps specifying its valid status.
Home-page: https://github.com/bibekad123/automation-report
Author: Bibek Adhikari
Author-email: bbekad94@gmail.com
License: MIT
Download-URL: https://github.com/bibekad123/automation-report/archive/1.1.0.tar.gz
Description: # automation-report
        
        Python package to generate HTML report of your automation or test cases with:
        
        - Supports multiple test cases and its steps with valid status
        - Well displayed chart according to the test results
        - Dynamic HTML Report contents, user allowed to modify accordingly
        
        
        ### Installation
        ```
        $ pip install automation-report
        ```
        
        ### Code Example
        ```
        # Importing package
        from automation_report.report import AutomationReport
        
        # To modify the report, define optional options dictionary with following keys
        # Keys are optional and report will be loaded with default values in case of empty
        options = {}
        # Either use MainHeader or LogoImage for Report header
        # options["MainHeader"] = " Automation Test Report" # Main header of the HTML report
        options["LogoImage"] = "logo.png" # Provide URL of the logo
        # Paste your custom HTML code on footer such as links and text
        options["FooterContent"] = "<a href='#'> Footer link </a>" # 
        
        # Create new object for your first test
        # Report name should be passed as a parameter and report is generated with same name
        # options dictionary as parameter is optional 
        new_report = AutomationReport("Login Test", options)
        
        # Use starttest() method to start a new case with its name given as parameter
        new_report.starttest("CASE 0001: Login to the system")
        
        # Populate the various steps status with info(), success(), fail() methods for particular case
        new_report.info("Entered email in email field")
        new_report.success("Login Successfully:")
        
        # End above started case
        new_report.endtest()
        
        # Create yet another case as following
        new_report.starttest("CASE 0002: Logout User")
        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](https://user-images.githubusercontent.com/12621555/78378665-06362000-75f1-11ea-86aa-7f3ff063cfcf.png)
        
        ![Automation report](https://user-images.githubusercontent.com/12621555/78378679-0b936a80-75f1-11ea-84ee-8d5c490a46b9.png)
        
Keywords: automation report,report,automation
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
