Code Monkey home page Code Monkey logo

Comments (4)

dash0002 avatar dash0002 commented on August 13, 2024

@atomar09 You'll want to use https://github.com/dash0002/HTMLTestRunner instead.

from htmltestrunner.

ItsPavan avatar ItsPavan commented on August 13, 2024

@dash0002 Please find the attached traceback and provide me a solution.

ETraceback (most recent call last):
File "C:\Users\PKumar\Desktop\my_docs\MB_framework.py", line 28, in
HTMLTestRunner.main()
File "C:\Python34\lib\unittest\main.py", line 93, in init
self.runTests()
File "C:\Python34\HTMLTestRunner.py", line 727, in runTests
TestProgram.runTests(self)
File "C:\Python34\lib\unittest\main.py", line 244, in runTests
self.result = testRunner.run(self.test)
File "C:\Python34\HTMLTestRunner.py", line 539, in run
self.generateReport(test, result)
File "C:\Python34\HTMLTestRunner.py", line 587, in generateReport
report = self._generate_report(result)
File "C:\Python34\HTMLTestRunner.py", line 647, in _generate_report
cid = 'c%s' % (cid+1),
KeyError: 'skip

from htmltestrunner.

kavitabarfa avatar kavitabarfa commented on August 13, 2024

For python 3.x follow the steps:

  1. pip install html-testRunner
  2. import HtmlTestRunner (but not HTMLTestRunner)

Note: In version 3 they have changed the package name from HTMLTestRunner to HTMLTestRunner.

from htmltestrunner.

ravikiranb36 avatar ravikiranb36 commented on August 13, 2024

For python 3.X install HTMLTestRunner-rv
pip install htmltestrunner-rv

from HTMLTestRunner import HTMLTestRunner
runner = HTMLTestRunner()
runner.run(suite)

from htmltestrunner.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.