Giter VIP home page Giter VIP logo

roboreport's People

Contributors

vvkalkundri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

roboreport's Issues

Error when there is no fail or pass

  • Issue
    When there is no fail or pass in the results there is an exception
  • Steps to reproduce
    Run robot with a single test passed or failed
  • Expected steps
    The library is defaulting to 0
  • Screenshot/additional information
Traceback (most recent call last):
  File "graph.py", line 68, in <module>
    robo_graph_generator()
  File "graph.py", line 47, in robo_graph_generator
    total_pass = int(overall_result['pass'])
KeyError: 'pass'

Solution

total_pass = int(overall_result['pass']) if 'pass' in overall_result else 0
    total_fail = int(overall_result['fail']) if 'fail' in overall_result else 0

Usage

  • Issue / Request for new feature
  • Steps to reproduce ?
  • Expected steps
  • Screenshot/additional information
    Do you have any details on how to use this lib?
    Thanks

Tags statistics are wrong

Hi,

In the default robot framework report, I have for example 3 passes for the tag "3.4.1" (no fails).
But in the 'RoboReport', there are 40 passes and 7 fails for this tag.
I can't provide my output.xml file.
I can just say that I have 30 tags.

The output.xml has been generated with the Robot Framework 3.0.4.

I will try to provide more informations later.

Thanks anyway.

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.