{ "info": { "author": "Robert Collins", "author_email": "robertc@robertcollins.net", "bugtrack_url": null, "classifiers": [], "description": "PyJUnitXML\n==========\n\nA Python unittest TestResult that outputs JUnit compatible XML.\n\nCopyright\n---------\n\nPyJUnitXML is Copyright (c) 2009 Robert Collins, and distributed under the\nGNU Library General Public Licence version 3 (LGPL-3). Broadly, this means you\nhave the right to use this library in any application you want, regardless of\nthe licence of your application, but that if you modify this library the\nmodifications you make need to be released under a compatible terms if you\nconvey the application to other users. For exact details see the COPYING and\nGPL-3 files included in the source.\n\nUsage\n-----\n\nTo use PyJUnitXML you need to specify it as your ``TestResult`` when running\nyour tests using pyunit. One way of doing this is to invoke the ``test`` method\ndirectly on your test suite::\n\n >>> import junitxml\n >>> result = junitxml.JUnitXmlResult(sys.stdout)\n >>> result.startTestRun()\n >>> suite.run(result)\n >>> result.stopTestRun()\n\nThe ``startTestRun`` and ``stopTestRun`` methods are new in python 2.7 and 3.1.\nIf you are using older versions of python, and do not invoke the test result\ndirectly, you may find that no output occurs at all. This is likely because the\n``stopTestRun`` method is not being invoked, and you will need to arrange for it\nto be invoked.\n\nThere is a command line runner you can use::\n\n $ python -m junitxml.main discover\n\nor\n\n $ junitxml discover\n\nIf the package scripts have been installed.\n\nTroubleshooting\n---------------\n\nMy test runs, but nothing is output? Check that ``result.stopTestRun`` is being\ncalled. Due to the XML file format requiring a header containing the test\ncounts, nothing is output until the test run has completed, and that is \nsignalled by the ``stopTestRun`` method being called.\n\nReporting Bugs and Asking Questions\n-----------------------------------\n\nPyJUnitXML is hosted on Launchpad at https://launchpad.net/pyjunitxml. Please\nfile bugs, ask questions and so on at will.\n\nRunning PyJUnitXML's test suite\n-------------------------------\n\nThe function junitxml.test_suite defines the junitxml test suite, you can use\nany runner you like. I personally use::\n\n $ python -m subunit.run junitxml.test_suite | subunit2gtk\n\nIf you have testrepository you can simply run testr::\n\n $ testr run\n\nEnjoy,\nRob Collins\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://launchpad.net/pyjunitxml", "keywords": null, "license": "LGPL-3", "maintainer": null, "maintainer_email": null, "name": "junitxml", "package_url": "https://pypi.org/project/junitxml/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/junitxml/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://launchpad.net/pyjunitxml" }, "release_url": "https://pypi.org/project/junitxml/0.7/", "requires_dist": null, "requires_python": null, "summary": "PyJUnitXML, a pyunit extension to output JUnit compatible XML.", "version": "0.7" }, "last_serial": 511647, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ab476857c00eb2af3f3927acca5b04d1", "sha256": "980e237ef72a27780aad2222d2a7ff48f13b92c532005b08ede73b067073100c" }, "downloads": -1, "filename": "junitxml-0.1.tar.gz", "has_sig": false, "md5_digest": "ab476857c00eb2af3f3927acca5b04d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17545, "upload_time": "2009-08-01T09:47:15", "url": "https://files.pythonhosted.org/packages/95/44/1668d5957b6e07db8875d7ebadf0f9daaa32c1d0c0d374dad0e8c260af0c/junitxml-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "1f0ddc3c12f445df6e8df038311247eb", "sha256": "d2b418f9437f59c502622efb27bb36351fdac44d410c6ac5e8e0d3554b1176f7" }, "downloads": -1, "filename": "junitxml-0.2.tar.gz", "has_sig": false, "md5_digest": "1f0ddc3c12f445df6e8df038311247eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17544, "upload_time": "2009-08-01T09:59:10", "url": "https://files.pythonhosted.org/packages/61/7c/37295c5e97a40a8fc5d57f104775a381af8ffc1e53e2f232ecc89cb25011/junitxml-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e2525fcbb3466d98dc43f73c4b1f7c38", "sha256": "f547855bb7a7df79af1e99ec8fae2b602353ef4f67b50a6c050645da449d5da9" }, "downloads": -1, "filename": "junitxml-0.3.tar.gz", "has_sig": true, "md5_digest": "e2525fcbb3466d98dc43f73c4b1f7c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17784, "upload_time": "2009-09-24T01:01:49", "url": "https://files.pythonhosted.org/packages/70/11/32595d30542fd196e08e78a1cda4dcba75a28e2120c669308d2250bbf4cd/junitxml-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "a669fa10585a95578dfc3286328f5891", "sha256": "410e9eec1c402bd50884c1b239dc1f27bf728d60f84792116d1717430bccc636" }, "downloads": -1, "filename": "junitxml-0.4.tar.gz", "has_sig": true, "md5_digest": "a669fa10585a95578dfc3286328f5891", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18450, "upload_time": "2009-11-19T09:48:13", "url": "https://files.pythonhosted.org/packages/0b/d5/b67fe1c0d929d15f62030122ab26c0756ef9bd35bc28ecb391a061b3431c/junitxml-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "7229cd2b125b49e8f2be0e5fb343dc8b", "sha256": "81e41e19e6ea429a9317875b75cbfba446994f21979a09876918e8cd3cdbc6c1" }, "downloads": -1, "filename": "junitxml-0.5.tar.gz", "has_sig": true, "md5_digest": "7229cd2b125b49e8f2be0e5fb343dc8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19109, "upload_time": "2009-12-12T13:38:54", "url": "https://files.pythonhosted.org/packages/f9/c6/7e96f8fb4b378474ee9d1097c7a462839d923e51db43e6e730fb504c01a0/junitxml-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "cfe9e457b3006b9fc8952bf12d4a1a66", "sha256": "f5d7a19e80b4c83ba64150831e1db5cdec4881718d12626844161d3b2204584c" }, "downloads": -1, "filename": "junitxml-0.6.tar.gz", "has_sig": true, "md5_digest": "cfe9e457b3006b9fc8952bf12d4a1a66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21619, "upload_time": "2010-09-12T00:33:11", "url": "https://files.pythonhosted.org/packages/01/41/ad754faa2c1031d8c426f746f2de68981abf4b86b96663f2ff412737fd36/junitxml-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "20d17c015fc11781f9d30bf89b862590", "sha256": "a5901127067ab7f3d11df30727368c129c69b3f5595c697daf4f5ed80b1baaa3" }, "downloads": -1, "filename": "junitxml-0.7.tar.gz", "has_sig": true, "md5_digest": "20d17c015fc11781f9d30bf89b862590", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26026, "upload_time": "2012-11-18T20:55:49", "url": "https://files.pythonhosted.org/packages/86/df/bdf6f8d13a62b7e70fe16f93158fef72322d74d771438ae5b5931f2d33b1/junitxml-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "20d17c015fc11781f9d30bf89b862590", "sha256": "a5901127067ab7f3d11df30727368c129c69b3f5595c697daf4f5ed80b1baaa3" }, "downloads": -1, "filename": "junitxml-0.7.tar.gz", "has_sig": true, "md5_digest": "20d17c015fc11781f9d30bf89b862590", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26026, "upload_time": "2012-11-18T20:55:49", "url": "https://files.pythonhosted.org/packages/86/df/bdf6f8d13a62b7e70fe16f93158fef72322d74d771438ae5b5931f2d33b1/junitxml-0.7.tar.gz" } ] }