GithubHelp home page GithubHelp logo

brymut / tcms-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kiwitcms/tcms-api

0.0 1.0 0.0 743 KB

Kiwi TCMS client library in Python

Home Page: https://kiwitcms.org

License: GNU Lesser General Public License v2.1

Makefile 3.96% Python 92.94% Shell 3.11%

tcms-api's Introduction

Python API for Kiwi TCMS

https://travis-ci.org/kiwitcms/tcms-api.svg?branch=master https://ci.appveyor.com/api/projects/status/jhuyyt9vrpaxagrk?svg=true Documentation Code coverage Tidelift Become a sponsor Kiwi TCMS on Twitter

This package allows to connect and access Kiwi TCMS API. For more information see http://kiwitcms.readthedocs.io/en/latest/api/index.html.

INSTALLATION

pip install tcms-api

WARNING: on Windows you need to install MIT Kerberos and make sure C:\Program Files\MIT\Kerberos\bin is included in %PATH% - this is usually the case when you install and restart! It must be a 64bit installation, see MIT Kerberos for Windows 4.1

WARNING: on Linux you will need gcc, Python and kerberos devel packages to build gssapi because it doesn't provide binary packages. Try dnf install gcc krb5-devel python3-devel (Red Hat/Fedora) or apt-get install gcc libkrb5-dev libpython3-dev (Debian/Ubuntu).

CHANGELOG

v8.3.0 (10 April 2020)

  • Use gssapi library for kerberos communications on both Linux and Windows
  • Requires MIT Kerberos for Windows, see installation instructions

v8.2.0 (02 April 2020)

This version adds additional methods and functionality that can be used by Kiwi TCMS plugins written in Python.

  • Modify plugin_helpers.Backend.test_case_get_or_create() to return tuple (dict, bool). WARNING: this will break existing plugins
  • plugin_helpers.Backend will use TCMS_PLAN_ID environment variable if specified. This allows the user to select an existing TestPlan to save new results into. Fixes Issue #5
  • Add plugin_helpers.Backend.finish_test_run() which may be called by plugins to indicate that a TestRun has been finished
  • Add plugin_helpers.Backend.default_tester_id() and update TestExecution.tested_by when changing status
  • Use default_tester_id() when creating a new TestRun
  • When creating new test run always set TR.manager := TP.author and make sure that TestPlan.create() will also specify author

v8.1.1 (23 March 2020)

  • Use winkerberos dependency on Microsoft Windows platform (@mtg-edmund-tse)
  • Setting rename in config file: use_mod_kerb -> use_kerberos
  • Bug-fix: don't fall back to user/pass if kerberos is configured
  • Bug-fix: send correctly formatted authorization request header, per RFC-4459
  • Bug-fix: properly authenticate with Kiwi TCMS via kerberos ticket if requested to do so
  • Start sending User-Agent: tcms-api/<version> for all requests
  • Enable integration testing with and without Kerberos
  • Enable testing on Windows

v8.0.1 (10 February 2020)

This version is compatible only with Kiwi TCMS v8.0 or later!

  • Do not use deprecated field product in TestCase.create API method
  • Set TestCase.is_automated to True

v8.0 (09 February 2020)

This version is compatible only with Kiwi TCMS v8.0 or later!

  • Adjusts plugin_helpers module to reflect backwards incompatible API changes introduced in Kiwi TCMS v8.0

v6.7.1 (07 February 2020)

  • Fix a bug in how use_mod_kerb setting was evaluated which lead to always preferring Kerberos which in turn was causing issues on Windows.

v6.7 (10 April 2019)

This version is compatible only with Kiwi TCMS v6.7 or later! For older server versions use tcms-api==5.3!

This version contains breaking changes in plugin_helpers!

  • Switch from TestCaseRun to TestExecution API. Fixes Issue #7
  • Rename plugin_helpers.Backend.update_test_case_run() to plugin_helpers.Backend.update_test_execution()

COPYRIGHT

  • Copyright (c) 2012 Red Hat, Inc. All rights reserved.
  • Copyright (c) 2017-2020 Kiwi TCMS Project and its contributors. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

tcms-api's People

Contributors

atodorov avatar shadeimi avatar frozencemetery avatar mtg-edmund-tse 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.