sealights-python-agent


Namesealights-python-agent JSON
Version 2.2.0 PyPI version JSON
download
home_pagehttps://github.com/Sealights/SL.OnPremise.Agents.Python
SummaryPython Agent
upload_time2024-04-13 07:31:23
maintainerNone
docs_urlNone
authorShai Cantor
requires_python<4,>=3.7
licenseOther/Proprietary License
keywords sealights python agent setuptools development
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ======================
sealights-python-agent
======================

The sealights-python-agent package integrates with the Sealights Quality Intelligence Platform.


****************
Language Support
****************
* Python 3.6
* Python 3.7
* Python 3.8
* Python 3.9
* Python 3.10


************
Installation
************
.. code-block::

    $ pip install sealights-python-agent


*****
Usage
*****

1. **Generating a session ID**

    .. code-block::

        $ sl-python config --appname myApp --branchname master --buildname 1 --exclude "*venv*"

2. **Scanning a build**

    .. code-block::

        $ sl-python build

3. **Running your tests**

    3.1 Running tests with **unittest**

    .. code-block::

        $ sl-python unittest --teststage "Unit Tests" <your args...>

    3.2 Running tests with **pytest**

    .. code-block::

        $ sl-python pytest --teststage "Unit Tests" <your args...>

    3.3 Running tests with **unittest2**

    .. code-block::

        $ sl-python unit2 --teststage "Unit Tests" <your args...>


Changes
=======

1.0.14 (2022-11-20)
--------------------
* Added support for Python 3.8, 3.9, 3.10

1.0.6 (2022-08-30)
--------------------
* Fixed "TIA Not Supported" Indicator for Test Optimization

1.0.5 (2022-07-05)
--------------------
* Dropped support for Python 2.7, 3.4 and 3.5.
* Upgraded dependencies
* Using coverage.py 6
* Bugfix: build session ids and lab ids were not encoded

0.2.247 (2022-05-19)
--------------------
* feature - tests can now run using labid only if build session id is not known. 

  Relies on at least one app that is active and configured with the same lab id.

0.2.245 (2022-03-28)
--------------------
* bugfix - test recommendations were running more tests than expected

0.2.244 (2022-02-20)
--------------------
* Added support for pytest-xdist version 2 and above

0.2.243 (2022-02-16)
--------------------
* bugfix - test recommendations API upgraded to v3

0.2.240 (2021-12-02)
--------------------
* entry log "Not upgrading agent" is now INFO

0.2.238 (2021-07-22)
--------------------
* bugfix - nose args were parsed incorrectly. First arg was ignored.

0.2.234 (2020-05-06)
--------------------
* bugfix - wrong xml coverage report when using pytest-xdist

0.2.230 (2020-03-11)
--------------------
* Handling not ready test recommendations

0.2.229 (2020-03-11)
--------------------
* Added better test recommendations error handling

0.2.228 (2020-02-22)
--------------------
* Fixed bug when running the agent after dependency update - gitdb2 - ModuleNotFoundError

0.2.219 (2019-10-30)
--------------------
* Pytest test selection support

0.2.213 (2019-10-16)
--------------------
* Python 3.7 support

0.2.201 (2019-07-14)
--------------------
* Use pytest + nose exit code

0.2.199 (2019-02-24)
--------------------
* Performance optimization
    * Added --per-test flag for pytest, nose, unittest, unit2 and run commands. default is on.

0.2.198 (2019-01-21)
--------------------
* changed default scm provider from github to null

0.2.197 (2019-01-14)
--------------------
* added --cov-report option to run command



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Sealights/SL.OnPremise.Agents.Python",
    "name": "sealights-python-agent",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.7",
    "maintainer_email": null,
    "keywords": "sealights python agent setuptools development",
    "author": "Shai Cantor",
    "author_email": "shai@sealights.io",
    "download_url": "https://files.pythonhosted.org/packages/77/21/a1166a52693cd70149ca093b802a67396c60dd1f8acfdc4018396c1c63ae/sealights-python-agent-2.2.0.tar.gz",
    "platform": null,
    "description": "======================\nsealights-python-agent\n======================\n\nThe sealights-python-agent package integrates with the Sealights Quality Intelligence Platform.\n\n\n****************\nLanguage Support\n****************\n* Python 3.6\n* Python 3.7\n* Python 3.8\n* Python 3.9\n* Python 3.10\n\n\n************\nInstallation\n************\n.. code-block::\n\n    $ pip install sealights-python-agent\n\n\n*****\nUsage\n*****\n\n1. **Generating a session ID**\n\n    .. code-block::\n\n        $ sl-python config --appname myApp --branchname master --buildname 1 --exclude \"*venv*\"\n\n2. **Scanning a build**\n\n    .. code-block::\n\n        $ sl-python build\n\n3. **Running your tests**\n\n    3.1 Running tests with **unittest**\n\n    .. code-block::\n\n        $ sl-python unittest --teststage \"Unit Tests\" <your args...>\n\n    3.2 Running tests with **pytest**\n\n    .. code-block::\n\n        $ sl-python pytest --teststage \"Unit Tests\" <your args...>\n\n    3.3 Running tests with **unittest2**\n\n    .. code-block::\n\n        $ sl-python unit2 --teststage \"Unit Tests\" <your args...>\n\n\nChanges\n=======\n\n1.0.14 (2022-11-20)\n--------------------\n* Added support for Python 3.8, 3.9, 3.10\n\n1.0.6 (2022-08-30)\n--------------------\n* Fixed \"TIA Not Supported\" Indicator for Test Optimization\n\n1.0.5 (2022-07-05)\n--------------------\n* Dropped support for Python 2.7, 3.4 and 3.5.\n* Upgraded dependencies\n* Using coverage.py 6\n* Bugfix: build session ids and lab ids were not encoded\n\n0.2.247 (2022-05-19)\n--------------------\n* feature - tests can now run using labid only if build session id is not known. \n\n  Relies on at least one app that is active and configured with the same lab id.\n\n0.2.245 (2022-03-28)\n--------------------\n* bugfix - test recommendations were running more tests than expected\n\n0.2.244 (2022-02-20)\n--------------------\n* Added support for pytest-xdist version 2 and above\n\n0.2.243 (2022-02-16)\n--------------------\n* bugfix - test recommendations API upgraded to v3\n\n0.2.240 (2021-12-02)\n--------------------\n* entry log \"Not upgrading agent\" is now INFO\n\n0.2.238 (2021-07-22)\n--------------------\n* bugfix - nose args were parsed incorrectly. First arg was ignored.\n\n0.2.234 (2020-05-06)\n--------------------\n* bugfix - wrong xml coverage report when using pytest-xdist\n\n0.2.230 (2020-03-11)\n--------------------\n* Handling not ready test recommendations\n\n0.2.229 (2020-03-11)\n--------------------\n* Added better test recommendations error handling\n\n0.2.228 (2020-02-22)\n--------------------\n* Fixed bug when running the agent after dependency update - gitdb2 - ModuleNotFoundError\n\n0.2.219 (2019-10-30)\n--------------------\n* Pytest test selection support\n\n0.2.213 (2019-10-16)\n--------------------\n* Python 3.7 support\n\n0.2.201 (2019-07-14)\n--------------------\n* Use pytest + nose exit code\n\n0.2.199 (2019-02-24)\n--------------------\n* Performance optimization\n    * Added --per-test flag for pytest, nose, unittest, unit2 and run commands. default is on.\n\n0.2.198 (2019-01-21)\n--------------------\n* changed default scm provider from github to null\n\n0.2.197 (2019-01-14)\n--------------------\n* added --cov-report option to run command\n\n\n",
    "bugtrack_url": null,
    "license": "Other/Proprietary License",
    "summary": "Python Agent",
    "version": "2.2.0",
    "project_urls": {
        "Homepage": "https://github.com/Sealights/SL.OnPremise.Agents.Python"
    },
    "split_keywords": [
        "sealights",
        "python",
        "agent",
        "setuptools",
        "development"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a8191f10d96b96945ea4de189e8bb8a603111c0ea755e9616bc208e9e0457c3",
                "md5": "df5b62ec54515d41a9280a83317dd729",
                "sha256": "13d0da3473e3b8b7b7325090cd9021f78d092a5a49adcc86a1be18bf73168edb"
            },
            "downloads": -1,
            "filename": "sealights_python_agent-2.2.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "df5b62ec54515d41a9280a83317dd729",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": "<4,>=3.7",
            "size": 1438923,
            "upload_time": "2024-04-13T07:31:20",
            "upload_time_iso_8601": "2024-04-13T07:31:20.393830Z",
            "url": "https://files.pythonhosted.org/packages/5a/81/91f10d96b96945ea4de189e8bb8a603111c0ea755e9616bc208e9e0457c3/sealights_python_agent-2.2.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7721a1166a52693cd70149ca093b802a67396c60dd1f8acfdc4018396c1c63ae",
                "md5": "6469235e1643220f93fb64266bc02ea5",
                "sha256": "e5a3c9e4369d7447e44c4bd6ce182f0bdf7d6f37e083bf847e7c8f026de518fa"
            },
            "downloads": -1,
            "filename": "sealights-python-agent-2.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6469235e1643220f93fb64266bc02ea5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.7",
            "size": 1244106,
            "upload_time": "2024-04-13T07:31:23",
            "upload_time_iso_8601": "2024-04-13T07:31:23.359617Z",
            "url": "https://files.pythonhosted.org/packages/77/21/a1166a52693cd70149ca093b802a67396c60dd1f8acfdc4018396c1c63ae/sealights-python-agent-2.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-13 07:31:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Sealights",
    "github_project": "SL.OnPremise.Agents.Python",
    "github_not_found": true,
    "lcname": "sealights-python-agent"
}
        
Elapsed time: 0.41685s