Giter Club home page Giter Club logo

trep's Introduction

  • 👋 Hi, I’m @ehles
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

trep's People

Contributors

ehles avatar

Stargazers

 avatar

Watchers

 avatar  avatar

trep's Issues

Add support for test results in new format

Add support for test results in the following format:

<testsuite name="nosetests" tests="15" errors="0" failures="0" skip="0">
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="StartCase" time="0.008" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step000_setup_master" time="1643.946" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step001_config_release" time="62.044" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step002_make_slaves" time="210.036" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step003_revert_slaves" time="57.183" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step004_upload_plugin" time="0.212" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step005_install_plugin" time="6.969" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step006_create_env" time="8.345" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step007_enable_plugin" time="0.250" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step008_configure_dvs_plugin" time="0.270" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step009_add_nodes" time="0.653" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step010_configure_vcenter" time="0.092" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step011_deploy_cluster" time="3075.735" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="Step012_health_check_sanity_smoke_ha" time="171.850" />
<testcase classname="Case_DeployWithVMware__Config_vcenter_dvs_smoke" name="FinishCase" time="0.000" />
</testsuite>

Сделать обработку ситуации когда не смогли найте TestSuite

Сейчас, если не нашли TestSuite выводится совершенно непонятная ошибка

Configuration found under:configs/trep.yaml
Traceback (most recent call last):
File "/home/jenkins/trep/bin/trep", line 5, in
pkg_resources.run_script('trep==0.1', 'trep')
File "/home/jenkins/trep/local/lib/python2.7/site-packages/pkg_resources.py", line 488, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/jenkins/trep/local/lib/python2.7/site-packages/pkg_resources.py", line 1354, in run_script
execfile(script_filename, namespace, namespace)
File "/home/jenkins/trep/lib/python2.7/site-packages/trep-0.1-py2.7.egg/EGG-INFO/scripts/trep", line 75, in
main()
File "/home/jenkins/trep/lib/python2.7/site-packages/trep-0.1-py2.7.egg/EGG-INFO/scripts/trep", line 71, in main
reporter.execute()
File "/home/jenkins/trep/local/lib/python2.7/site-packages/trep-0.1-py2.7.egg/trep/reporter.py", line 169, in execute
cases = self.find_testrail_cases(xunit_suite)
File "/home/jenkins/trep/local/lib/python2.7/site-packages/trep-0.1-py2.7.egg/trep/reporter.py", line 137, in find_testrail_cases
cases = self.suite.cases()
AttributeError: 'NoneType' object has no attribute 'cases'

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.