Code Monkey home page Code Monkey logo

pytest-testlink's Introduction

pytest-testlink Build Status

Updates test results in test link.

Uses ini file with test case external id and test node id as mapping

xmlrpc_url =http://[test link server]/testlink/lib/api/xmlrpc.php
api_key =Testlink->My Settings->API interface->Generate Key
project =Project name as in test link
test_plan =Prefix $ to pick from environment variable.
build_name =Prefix $ to pick from environment variable.

##pytest.ini configuration testlink_ini_file=testlink.ini

###Testlink file format (testlink.ini) ; ini file with testlink-conf section [testlink-conf] xmlrpc_url=http://[test link server]/testlink/lib/api/xmlrpc.php') api_key=aaaabbbbccccddddaaaabbbbccccdddd project=py-tl-Project test_plan=py-tl-Plan build_name=py-tl-Build exit_on_fail=optional [False] True errors on testlink failures'

;tl_custom_field=[pytest_node]unique custom_field')
new_build=optional [False] True creates a new build')    
;tl_reference_test_plan=Test plan with all tests added.')

; ini file with testlink-maps section
[testlink-maps]
;test case external-id=node-id(after parametrization)
test-0=test_pytest_testlink.py::TestClass::test_dummy
test-1=test_pytest_testlink.py::test_pass[0]
test-2=test_pytest_testlink.py::test_pass[1]
test-3=test_pytest_testlink.py::test_pass[2]

####Todo: --platform -> add platform option to config/ini files

--strict -> fail if missing mapping between test link and nodes

--find-matching-tests -> lists tests with proper mapping

--find-tests-with-no-mapping -> lists tests with no mapping

-- query all builds and sort

-- create a new build if required - auto increment

###Changes:

0.3 2/20/2015 - Support for 1.9.3

pytest-testlink's People

Contributors

kman0 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.