{ "info": { "author": "Lukas Prokop", "author_email": "admin@lukas-prokop.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Documentation", "Topic :: Software Development :: Testing", "Topic :: System :: Logging", "Topic :: System :: Systems Administration" ], "description": "Documentation\n=============\n\n:name: taptaptap\n:author: Lukas Prokop\n:date: Feb-Apr 2014, Jul 2018\n:license: BSD 3-clause\n:version: 1.2.1\n:issues: http://github.com/meisterluk/taptaptap/issues\n\nTest Anything Protocol handling for cats \\*rawwr*\n\n.. contents:: Table of contents\n\n``taptaptap`` provides parsers, writers and APIs to handle the Test Anything Protocol (TAP). The implementation focuses on the most-current TAP version 13. TAP originates from the Perl community, but is a general format to document runs of testsuites. The reference to cats is just a pun for the noise of cats sneaking on floors.\n\nCompatibility\n-------------\n\n``taptaptap`` is only supposed to be working with python 2.7 (due to with statements and argparse).\nIt fully supports unicode.\nIt has been tested with Xubuntu 18.04 (Linux 4.15 x86_64) on 2.7.15rc1. A version for python 3.x is available as package ``taptaptap3``.\n\nChangelog\n---------\n:1.2.1: declare encoding in setup.py, README updates\n:1.2.0: Bugfix: do not drop memo in TapBailout,\n shebangs: \"python\" \u2192 \"python2\",\n Bugfix: initialize next_number with 1,\n Bugfix: issue #1\n:1.1.3: tapmerge: support merging more than 2 TAP files,\n support \"-\" to denote stdin\n:1.1.2: TapWriter: do not reuse TapWriter instance in TapCreator\n:1.1.1: TapWriter: support data handling in TapBailout\n:1.1.0: procedural API writes to stderr not stdout,\n bugfix TapCreator: Fix number of testcase determination\n:1.0.5: bugfix procedural API: write version even if default version\n:1.0.4: more tests, fix output/source bug in testsuite\n:1.0.3: install_requires in setup.py\n:1.0.2: introduce requirements.txt\n:1.0.1: Unicode improvements\n:1.0.0: First stable release, packaging improvements, full testsuite\n:0.8.0: Unstable release, minimal testsuite\n\nThe File Format\n---------------\n\nA basic introduction is given by Wikipedia. The format was specified by the Perl community.\n\n* `The Wikipedia article `_\n* `Original specification `_\n* `Test::Harness `_\n\nTestsuite & Examples\n--------------------\n\n``taptaptap`` comes with a testsuite, which covers many special cases of the TAP format and tests the provided APIs. Please don't hesitate to report any issues_.\n\nYou can run the ``taptaptap`` testcases yourself using::\n\n ./run.sh\n\nin the tests directory. The testsuite also shows some API usage examples, but I want to provide some here. The procedural API is well-suited if you are in the python REPL::\n\n from taptaptap.proc import plan, ok, not_ok, out\n plan(tests=10)\n ok('Starting the robot')\n not_ok('Starting the engine')\n not_ok('Find the object', skip='Setup required')\n not_ok('Terminate', skip='Setup required')\n\n out()\n\nThe output looks like this::\n\n 1..10\n ok - Starting the robot\n not ok - Starting the engine\n not ok - Find the object # SKIP Setup required\n not ok - Terminate # SKIP Setup required\n\nBe aware that the state is stored within the module. This is not what you want if you are outside the REPL. The ``TapWriter`` class is more convenient in this case::\n\n import taptaptap\n\n writer = taptaptap.TapWriter()\n writer.plan(1, 3)\n writer.ok('This testcase went fine')\n writer.ok('And another one')\n writer.ok('And also the last one')\n\nIf you like python's generators, you want to use ``SimpleTapCreator``::\n\n @taptaptap.SimpleTapCreator\n def runTests():\n yield True\n yield True\n yield False\n\n print runTests()\n\nGiving us::\n\n 1..3\n ok\n ok\n not ok\n\nOr take a look at the more sophisticated ``TapCreator``. If you are a real expert, you can use ``TapDocument`` directly, which covers all possibilities of TAP.\n\nCommand line tools\n------------------\n\nYou can also invoke ``taptaptap`` directly from the command line::\n\n python -m taptaptap.__main__ some_tap_file_to_validate.tap\n\nThis command will parse the file and write the file in a way how it was understood by the module. The exit code indicates its validity:\n\n0\n Everything fine.\n1\n The TAP file is missing some testcases or contains failed testcases.\n2\n A bailout was raised. So the testing environment crashed during the run.\n\nPickling\n--------\n\nAll objects are pickable.\n\nWhen to use ``taptaptap``\n-------------------------\n\nDoes ``taptaptap`` suite your needs?\nIt does, if you are looking for a parser and validator for your TAP documents and you don't want to care about details and just need a gentle API.\n\nbest regards,\nmeisterluk\n\n.. _issues: https://github.com/meisterluk/taptaptap\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://lukas-prokop.at/proj/taptaptap/", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "taptaptap", "package_url": "https://pypi.org/project/taptaptap/", "platform": "any", "project_url": "https://pypi.org/project/taptaptap/", "project_urls": { "Homepage": "http://lukas-prokop.at/proj/taptaptap/" }, "release_url": "https://pypi.org/project/taptaptap/1.2.1/", "requires_dist": null, "requires_python": "", "summary": "Test Anything Protocol handling for cats", "version": "1.2.1" }, "last_serial": 4025896, "releases": { "1.0.0-stable": [ { "comment_text": "built for Linux-3.8.0-35-generic-x86_64-with-glibc2.7", "digests": { "md5": "4d2e6622d005f4fd6e65551b2e456e14", "sha256": "ceeb40e1fd62ce9b3c4b6a702938ea13962117047dd744323bd9ed07800e4658" }, "downloads": -1, "filename": "taptaptap-1.0.0-stable.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "4d2e6622d005f4fd6e65551b2e456e14", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 42115, "upload_time": "2014-05-12T14:06:46", "url": "https://files.pythonhosted.org/packages/bd/62/81fbcb7eb1400f95362db1621dfe2b5800484c9f9b4655f35f2c54e8510f/taptaptap-1.0.0-stable.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "2c5e58bf76707ccda8d63c6ba015a8f7", "sha256": "ab6bc0d771ac3896c589fe5e51ac819fc5671893939b7650ef4426a835413b41" }, "downloads": -1, "filename": "taptaptap-1.0.0-stable.tar.gz", "has_sig": false, "md5_digest": "2c5e58bf76707ccda8d63c6ba015a8f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18835, "upload_time": "2014-05-12T14:06:43", "url": "https://files.pythonhosted.org/packages/15/ad/0ac3d7a3d24a5486c28fede599adf1852b9aa5be4e6b6a4977283011de54/taptaptap-1.0.0-stable.tar.gz" } ], "1.0.1-stable": [ { "comment_text": "", "digests": { "md5": "c45153ad1d89d121db933b754ee54d20", "sha256": "3837334e0779e6d350719ab008875f1e0e9c9556d4975f17377dea962e96eb3e" }, "downloads": -1, "filename": "taptaptap-1.0.1-stable.tar.gz", "has_sig": false, "md5_digest": "c45153ad1d89d121db933b754ee54d20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18846, "upload_time": "2014-05-12T14:53:53", "url": "https://files.pythonhosted.org/packages/4a/2e/65afb40d76f1f42cde2037814cc259c63ed2dae903e7d0101b51107403a2/taptaptap-1.0.1-stable.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "b18506c48645b416f3f3dc6526ca213b", "sha256": "cb2b89f6801729118ec1caf641efa23bbf53c726c1901827e5b4400d860f9873" }, "downloads": -1, "filename": "taptaptap-1.0.2.tar.gz", "has_sig": true, "md5_digest": "b18506c48645b416f3f3dc6526ca213b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18831, "upload_time": "2014-06-02T11:09:02", "url": "https://files.pythonhosted.org/packages/d4/9f/d253e6919828b6f0e33f4209861f8010e9722663e95a8359e8defae76bc7/taptaptap-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "37f0b747f781664f2c502d52b388d4e7", "sha256": "9435f00e7ed17e47acfce5a9ff0e203d55e874539e524254a81d85fb3932fc24" }, "downloads": -1, "filename": "taptaptap-1.0.3.tar.gz", "has_sig": true, "md5_digest": "37f0b747f781664f2c502d52b388d4e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18785, "upload_time": "2014-06-04T08:41:28", "url": "https://files.pythonhosted.org/packages/32/fc/17cc95018d60bf2bc7e1001fab070f6fc5d26fac1c54775e28336e00d9b2/taptaptap-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c910a533cc5d3a5dedb45a00e4e41dbd", "sha256": "a340f4d23cf37525cc6b823f131af021564d273e2f0d90d24d4e90d1c8661cb6" }, "downloads": -1, "filename": "taptaptap-1.1.0.tar.gz", "has_sig": true, "md5_digest": "c910a533cc5d3a5dedb45a00e4e41dbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19028, "upload_time": "2014-06-07T23:01:13", "url": "https://files.pythonhosted.org/packages/8f/27/484264f9c02aa08a200f513599624b27f9c1675dd9e4e55b2b98bd240fa1/taptaptap-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "5dcfcd1baf4c2506d389fed2331b3438", "sha256": "3913f62537c11d2484bf07c2011a492c2b029aad1e6c89e0389b68c8e5cfad8e" }, "downloads": -1, "filename": "taptaptap-1.1.1.tar.gz", "has_sig": true, "md5_digest": "5dcfcd1baf4c2506d389fed2331b3438", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19046, "upload_time": "2014-06-08T00:23:12", "url": "https://files.pythonhosted.org/packages/68/7c/878485fc7c019df2e72c18a6e35d577305f4fc15ff53915962142eab0149/taptaptap-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "45df1ab2d24e7c5ddd1bafb38215d8d9", "sha256": "354e75c9677d7703f146da2bbeb362c8250b8c53bf466bb50b2d3838b7321783" }, "downloads": -1, "filename": "taptaptap-1.1.2.tar.gz", "has_sig": true, "md5_digest": "45df1ab2d24e7c5ddd1bafb38215d8d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19096, "upload_time": "2014-06-08T01:07:20", "url": "https://files.pythonhosted.org/packages/e3/c7/ec2a1bbd4b64c0903a750b4d89903f7b6cc2b27068b95149ee5c984cdd30/taptaptap-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "286d8461d61e648ddb707f349a2c4ce5", "sha256": "7f4d3af552a4f4ea48578459bc813de3b78ce69ac568dbfc5b4d8ccaeeea3b5f" }, "downloads": -1, "filename": "taptaptap-1.1.3.tar.gz", "has_sig": false, "md5_digest": "286d8461d61e648ddb707f349a2c4ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19266, "upload_time": "2014-08-11T22:06:02", "url": "https://files.pythonhosted.org/packages/27/a8/b00ab6830d5bb1b65d07eada6b6868b8b366c21e0698463018e5e9d1177a/taptaptap-1.1.3.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "82951a4431fe0ebccfcdeeda8a9bc83f", "sha256": "4086b3fb23aeb7bd4785904a9724121666abe2cb5d9f3f38f59e7c2637a79d22" }, "downloads": -1, "filename": "taptaptap-1.2.0.tar.gz", "has_sig": true, "md5_digest": "82951a4431fe0ebccfcdeeda8a9bc83f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19896, "upload_time": "2018-07-03T11:41:16", "url": "https://files.pythonhosted.org/packages/ac/64/d651a044eb1fc78532fa3a8f03bf025d2fe47d972c98664b6cc90eac8590/taptaptap-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6b7bf87200d2e682e20a0abe478cdc50", "sha256": "42e5a8cd6af10fd00ad49009c62828187e9db28558ebc4c03f3855eab22b4ec2" }, "downloads": -1, "filename": "taptaptap-1.2.1.tar.gz", "has_sig": true, "md5_digest": "6b7bf87200d2e682e20a0abe478cdc50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19941, "upload_time": "2018-07-03T11:44:45", "url": "https://files.pythonhosted.org/packages/12/46/dfe5aa44b92bb92f5ff714fa752eaa9d84d237cac26c84de3cc183c1149d/taptaptap-1.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b7bf87200d2e682e20a0abe478cdc50", "sha256": "42e5a8cd6af10fd00ad49009c62828187e9db28558ebc4c03f3855eab22b4ec2" }, "downloads": -1, "filename": "taptaptap-1.2.1.tar.gz", "has_sig": true, "md5_digest": "6b7bf87200d2e682e20a0abe478cdc50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19941, "upload_time": "2018-07-03T11:44:45", "url": "https://files.pythonhosted.org/packages/12/46/dfe5aa44b92bb92f5ff714fa752eaa9d84d237cac26c84de3cc183c1149d/taptaptap-1.2.1.tar.gz" } ] }