Giter VIP home page Giter VIP logo

dsr2html's Introduction

Build Status

What are .dsr file


.Dsr files are XML file describing tests results. Here is a simple minimal example:

    <test>

    <header>
      <name> A name </name>
      <title> A title </title>
      <description> some description of the test </description>
    </header>

    <steps>

      <step>
        <number> 1 </number>
        <action> Write something related to this step </action>
        <step_result> OK </step_result>
      </step>
      
    </steps>

    <global>
      <duration> </duration>
      <result> OK </result>
    </global>

    </test>

A test contains many 'steps'

Install / Use


  • Install

dsr2html does not need to be installed, but you can:

    python setup.py install
  • Use

Let's try to print software version:

If installed run

    dsr2html -v

If not installed (runnning from source) run

    python /path/to/dsr2html.py -v

If you use windows static binary, run dsr2html.exe -v

Command line interface


    usage: dsr2html.py [-h] [-v] [-d | -q] [-tpl TEMPLATE] [-title TITLE]
           [-of OUTPUT_FOLDER]
           inpath

    simple .dsr (XML) to .html converter, with some fancy CSS & JS

    positional arguments:
      inpath                input filepath (folder containing .dsr file)

    optional arguments:
      -h, --help            show this help message and exit
      -v, --version         show program's version number and exit
      -d, --debug           verbose output logging
      -q, --quiet           limit output logging to warning/error
      -title TITLE          html page title
      -tpl TEMPLATE, --template TEMPLATE
          template file to use.
      -of OUTPUT_FOLDER, --output_folder OUTPUT_FOLDER
          output folder path.

Credits


See LICENSE file and javascript files contained in static for more infos.

dsr2html's People

Contributors

mikrolax avatar

Watchers

 avatar

Forkers

pavertomato

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.