{ "info": { "author": "Maroun Maroun", "author_email": "maroun@taykey.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Testing" ], "description": "The project is available on `GitHub `_\r\n\r\n==========\r\nInstalling\r\n==========\r\n\r\nYou can install `nose-docstring-modifier` plugin using `pip`:\r\n\r\n.. code-block:: shell\r\n\r\n $ pip install nose-docstring-modifier\r\n\r\n=====\r\nUsing\r\n=====\r\n\r\nGiven the following test function, that uses `nose-ittr` plugin:\r\n\r\n.. code-block:: python\r\n \r\n @ittr(platforms=['P1', 'P2', 'P3'])\r\n @attr(section='MySection', type='functional+', module='MyModule', id=1)\r\n def test_function(self):\r\n \"\"\"\r\n This is the original docstring\r\n \"\"\"\r\n for platform in self.platforms:\r\n ok_(True)\r\n\r\nrunning it with `nosetest` using `nose-docstring-modifier` plugin:\r\n\r\n.. code-block:: shell\r\n\r\n nosetests --with-docstring-modifier --prefix=id,section,platform --suffix=type --replace=('s','S')\r\n\r\nwill print\r\n\r\n.. code-block:: shell\r\n\r\n (1, MySection, P1) ThiS iS the original docString (functional+) ... ok\r\n (1, MySection, P2) ThiS iS the original docString (functional+) ... ok\r\n (1, MySection, P3) ThiS iS the original docString (functional+) ... ok\r\n\r\nNote that if you hardcode the platform on docstring, you cannot get dynamic output and you'll get the same platform even when the test runs on three different platforms.\r\n\r\n========\r\nFeatures\r\n========\r\n\r\n* Works with multiprocess plugin:\r\n\r\n.. code-block:: shell\r\n\r\n nosetests --processes=10 --process-restartworker with-docstring-modifier --prefix=id\r\n\r\nspreads test run among 10 processes, appending `id` attribute to each test.\r\n\r\n=======\r\nHistory\r\n=======\r\n\r\n0.0.6 (2014-11-25)\r\n------------------\r\n* Added ability to display only first line of docstring\r\n* Changed the way `--replace` called: `--replace=('s','S')`\r\n\r\n0.0.5 (2014-11-24)\r\n------------------\r\n* HOTFIX - Fixed a bug that caused an error when running the plugin due to dependency with another upcoming plugin\r\n\r\n0.0.4 (2014-11-06)\r\n------------------\r\n* Code design changes\r\n\r\n0.0.3 (2014-11-05)\r\n------------------\r\n* Multiprocessing support\r\n\r\n0.0.2 (2014-11-04)\r\n------------------\r\n* Initial release\r\n\r\n\r\n========\r\nAuthors\r\n========\r\n\r\n:Authors:\r\n Maroun Maroun\r\n:Contributors:\r\n Tal Ben Basat\r\n\r\n Nicole Franco\r\n\r\n Roy Klinger\r\n\r\n Sergey Ragatsky\r\n:Version: 0.0.6 of 26/11/2014", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/taykey/nose-docstring-modifier", "keywords": "nosetest docstring", "license": "", "maintainer": "", "maintainer_email": "", "name": "nose-docstring-modifier", "package_url": "https://pypi.org/project/nose-docstring-modifier/", "platform": "", "project_url": "https://pypi.org/project/nose-docstring-modifier/", "project_urls": { "Homepage": "https://github.com/taykey/nose-docstring-modifier" }, "release_url": "https://pypi.org/project/nose-docstring-modifier/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "Enables you to modify docstring of tests based on their attributes", "version": "0.0.6" }, "last_serial": 1325391, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "1c2b675832fadbc10331b7f7cda24809", "sha256": "b35dc8d7552fda058d05b0dd45bdf20cc6e09e28b70a7f15579f90bb7b497abe" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.2.tar.gz", "has_sig": false, "md5_digest": "1c2b675832fadbc10331b7f7cda24809", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2584, "upload_time": "2014-11-04T14:04:10", "url": "https://files.pythonhosted.org/packages/24/ec/83c8bae0b4c4098f2cb41f295318f3f3caacdee0ad722bdccc9497c090af/nose-docstring-modifier-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "20d4d57390f2c0d2c1488bbc47ddd968", "sha256": "697fad5c8335a9ffc47ac648e9d9d88d329b99db304b2c62ff00c0d3ecc1a611" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.3.tar.gz", "has_sig": false, "md5_digest": "20d4d57390f2c0d2c1488bbc47ddd968", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2595, "upload_time": "2014-11-05T11:56:15", "url": "https://files.pythonhosted.org/packages/8a/e2/e26c9b46ad6d4d6d05d6103d2a328a07bda9f0cf672c73fbecc8b7f78d14/nose-docstring-modifier-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ac5f99ff07badf3b76a25709076920d9", "sha256": "21132db467fa04f0733b12d6b2fd99d7f255280bd9ae88fe5a13789e933e6ae6" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ac5f99ff07badf3b76a25709076920d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2856, "upload_time": "2014-11-06T09:07:10", "url": "https://files.pythonhosted.org/packages/d3/06/4b587b808c5e252e4afa249c4636d0a4a600b96c1f39bbd181db3ef51a85/nose-docstring-modifier-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "54dfb1f141926561ecc4ee8d60459e0c", "sha256": "3d732ebaaa388c3a965d1fb4a149d3c4b7e5095bccb66fb853d874bd286f8b76" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.5.tar.gz", "has_sig": false, "md5_digest": "54dfb1f141926561ecc4ee8d60459e0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2948, "upload_time": "2014-11-24T13:26:24", "url": "https://files.pythonhosted.org/packages/dc/cd/ef742f3ab11ece5599c5f4957fc3b7d15aa1c41fbd740c7b6db51dac0e8b/nose-docstring-modifier-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "6cee2d6635b56e551b3b6e94ebaaa267", "sha256": "d1b8de4495ceb826998b23eb41ea754c151d101b5fd02d296d5857b6b5ecc2d1" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6cee2d6635b56e551b3b6e94ebaaa267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3556, "upload_time": "2014-11-26T14:06:28", "url": "https://files.pythonhosted.org/packages/72/e1/49fcc9c5880d3007d8602e6c337b973be1cf87378333cf6d0771dfad6156/nose-docstring-modifier-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6cee2d6635b56e551b3b6e94ebaaa267", "sha256": "d1b8de4495ceb826998b23eb41ea754c151d101b5fd02d296d5857b6b5ecc2d1" }, "downloads": -1, "filename": "nose-docstring-modifier-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6cee2d6635b56e551b3b6e94ebaaa267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3556, "upload_time": "2014-11-26T14:06:28", "url": "https://files.pythonhosted.org/packages/72/e1/49fcc9c5880d3007d8602e6c337b973be1cf87378333cf6d0771dfad6156/nose-docstring-modifier-0.0.6.tar.gz" } ] }