Skip to main content

Posts

Showing posts from April, 2020

Python Html Report

Html report using UnitTest and HtmlReporter            pip install html-reports import pytest import unittest import HtmlTestRunner from HtmlTestRunner import HTMLTestRunner import allure @allure.story ( 'Your Story here' ) @allure.feature ( 'Your Feature here' ) class CodeVlidation(unittest.TestCase):     @classmethod     def setUpClass ( cls ):         print ( 'Executed Before the all the method executed in class' )     @classmethod     def tearDownClass ( cls ):         print ( 'xecuted after the all the method executed in class' )     def setUp ( self ):         print ( "Setup the environment" )     def tearDown ( self ):         print ( "cle...