import time
import unittest
from BeautifulReport import BeautifulReport

if __name__ == "__main__":
    discover = unittest.defaultTestLoader.discover(".",pattern="test_M06*.py",top_level_dir=None)     #"."表示当前目录，"*tests.py "匹配当前目录下所有tests.py
    nowtime = time.strftime("%Y%m%d%H%M%S")
    BeautifulReport(discover).report(filename="Test Report_"+nowtime, description='测试报告',report_dir="./report")


5f911f6505fb64bc0c231467908a8190392e7c49
<mask token>

<mask token>
if __name__ == '__main__':
    discover = unittest.defaultTestLoader.discover('.', pattern=
        'test_M06*.py', top_level_dir=None)
    nowtime = time.strftime('%Y%m%d%H%M%S')
    BeautifulReport(discover).report(filename='Test Report_' + nowtime,
        description='测试报告', report_dir='./report')

import time
import unittest
from BeautifulReport import BeautifulReport
if __name__ == '__main__':
    discover = unittest.defaultTestLoader.discover('.', pattern=
        'test_M06*.py', top_level_dir=None)
    nowtime = time.strftime('%Y%m%d%H%M%S')
    BeautifulReport(discover).report(filename='Test Report_' + nowtime,
        description='测试报告', report_dir='./report')

import time
import unittest
from BeautifulReport import BeautifulReport

if __name__ == "__main__":
    discover = unittest.defaultTestLoader.discover(".",pattern="test_M06*.py",top_level_dir=None)     #"."表示当前目录，"*tests.py "匹配当前目录下所有tests.py
    nowtime = time.strftime("%Y%m%d%H%M%S")
    BeautifulReport(discover).report(filename="Test Report_"+nowtime, description='测试报告',report_dir="./report")

