Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

puppetlabs/doctor_teeth

doctor_teeth

Overview

doctor_teeth is in proof of concept development

A Ruby Gem to contain the logic that parses the junit_xml produced by beaker and other tools into QAELK2s DB.

Build Status Coverage Status

Example

require 'doctor_teeth'
require 'json'

path = File.join('path', 'to', 'beaker_junit.xml')

# example test run metadata
opts = {
        :project        => 'PE-Console UI',
        :duration       => 198347,
        :start_time     => Time.now.getutc,
        :execution_id   => (0...25).map { ('a'..'z').to_a[rand(26)] }.join,
        :configuration  => 'THIS IS THE CONFIGURATION'
    }

hash = DoctorTeeth.parse(path, opts)

hash.to_json

About

transform junit.xml into flat time-indexed data for things like bigquery, elasticsearch

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages