diff --git a/README.rst b/README.rst index 55f93eb..5df05c2 100644 --- a/README.rst +++ b/README.rst @@ -20,8 +20,6 @@ qatestlink +=======================+=======================================================================+================================================================================================+ | master | .. image:: https://travis-ci.org/netzulo/qatestlink.svg?branch=master | .. image:: https://ci.appveyor.com/api/projects/status/7low4kw7qa6a5vem/branch/master?svg=true | +-----------------------+-----------------------+-----------------------------------------------+------------------------------------------------------------------------------------------------+ -| devel | .. image:: https://travis-ci.org/netzulo/qatestlink.svg?branch=devel | .. image:: https://ci.appveyor.com/api/projects/status/7low4kw7qa6a5vem/branch/devel?svg=true | -+-----------------------+-----------------------------------------------------------------------+------------------------------------------------------------------------------------------------+ Python tested versions @@ -71,14 +69,30 @@ SETUP.py install ``python setup.py install`` -Tests ------ -To run the tests, you need the following environment variables: +Configuration File +------------------ + +.. highlight:: json +.. code-block:: json + :linenos: + +:: -- TESTLINK_URL: The main URL to access the TestLink installation, by default 'http://localhost'. -- TESTLINK_DEV_KEY: The dev key to use in the calls, mandatory. + { + "connection":{ + "is_https": false, + "host": "qalab.tk", + "port": 86 + }, + "dev_key": "ae2f4839476bea169f7461d74b0ed0ac", + "log_level":"DEBUG" + } + + +Tests +----- -After setting them, you can just execute: +*Just execute on command line* ``python setup.py test`` diff --git a/setup.py b/setup.py index 4f244cd..3b564a5 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def read(file_name=None, is_encoding=True, ignore_raises=False): setup( name='qatestlink', - version='0.0.1', + version='0.0.2', license=read("LICENSE", is_encoding=False, ignore_raises=True), packages=find_packages(exclude=['tests']), description='Main automation lib', @@ -43,7 +43,7 @@ def read(file_name=None, is_encoding=True, ignore_raises=False): author='Netzulo Open Source', author_email='netzuleando@gmail.com', url='https://github.com/netzulo/qatestlink', - download_url='https://github.com/netzulo/qatestlink/tarball/v0.0.1', + download_url='https://github.com/netzulo/qatestlink/tarball/v0.0.2', keywords=[ 'testing', 'logging', @@ -64,7 +64,7 @@ def read(file_name=None, is_encoding=True, ignore_raises=False): 'pytest', ], classifiers=[ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'Programming Language :: Python :: 2.7', diff --git a/sonar-project.properties b/sonar-project.properties index 58709b3..f53e521 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,8 +1,8 @@ # Required metadata sonar.projectKey=qatestlink sonar.projectName=qatestlink -sonar.projectDescription=Python library to automate functional testing -sonar.projectVersion=0.1 +sonar.projectDescription=Python library to automate XMLRPC calls on testlink +sonar.projectVersion=0.2 # Language sonar.language=py # Comma-separated paths to directories with sources (required)