Git Product home page Git Product logo

pytest-testlink-adaptor's Introduction

pytest-testlink-adaptor

Allow to update test results in Testlink TMS.

Uses testlink.ini file with test case id and test node id as mapping: Every parameter value can be hardcoded or defined via environment variable (e.g. test_plan=$TESTPLAN)

Testlink file format (testlink.ini)

[testlink-conf]
xmlrpc_url=http://[test link server]/testlink/lib/api/xmlrpc.php
api_key=<api_key> (can be generated in Testlink->My Settings->API interface->Generate Key)
project=<Project name in TestLink>

# prefix for testcases in TestLink project
testlink_tc_prefix=TC-

# pytest_tc_prefix [optional parameter]
# name of pytest test function/method can contain testcase id in format <pytest_tc_prefix><case_number>.
# for mapping with TestLink test cases.
# If this parameter is omitted or is not matched the plugin
# will try to collate test using mapping from testlink-maps section
pytest_tc_prefix=TC  
           
# Test plan in TestLink for specified project.
# If the test case is not assigned to the test plan it will be assigned
# automatically     
test_plan=$TESTPLAN

build_name=autobuild
tester=<tester_name> (tester name in Testlink for automatic execution)
exit_on_fail=optional [False by default]

new_build=optional [False by default] (with True will create a new build)

# prod_vers - product version
# can be set via plugin parameter, pytest attribute or environment variable
prod_vers=$PROD_VERS

# prod_platform - product test platform in the Testlink test plan
# can be set via plugin parameter, pytest attribute or environment variable
prod_platform=$PROD_PLATFORM


[testlink-maps]
<testlink_internal_tc_id>=<test_file>::<test_class>::()::<testcase_method>

pytest.ini configuration

testlink_ini_file=testlink.ini

pytest-testlink-adaptor's People

Contributors

blackwoodseller avatar

Watchers

James Cloos 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.