Skip to content

Commit

Permalink
[qatl] Update to v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto netzulo committed Nov 27, 2017
1 parent d5b468b commit c6e2feb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 13 deletions.
30 changes: 22 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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``
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ 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',
long_description=read("README.rst"),
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',
Expand All @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit c6e2feb

Please sign in to comment.