An open API service indexing awesome lists of open source software.

https://github.com/eddie4k-code/pyreport

Simple module / script that can be used to generate HTML reports for tests. Using BeautifulSoup
https://github.com/eddie4k-code/pyreport

automation-test automation-testing python python-test-reporter pythonreporter qa reporting test testing testing-tools testreport testreporter

Last synced: 8 months ago
JSON representation

Simple module / script that can be used to generate HTML reports for tests. Using BeautifulSoup

Awesome Lists containing this project

README

          

# pyReport
Simple module / script that can be used to generate HTML reports for tests.

Dependencies -

  • BeautifulSoup (bs4)
  • Instruction


  • Create a Report object - test = Report(Filename, path)

  • Generate the HTML Report File - .startReport()

  • Add a test case to the report and the result - .reportTestCase(Test Case Name, pass/fail, Reason(Optional))
  • Example


    Testing the function add which will add two numbers



    In this situation, if the test case is as expected then it will be reported on the HTML file as a pass, if it fails then it will be reported on the html file as a Fail and a reason can be specified for the failure

    The HTML Report


    This is where all the results will be shown