{"id":21617,"library":"nosexcover","title":"nosexcover","description":"nosexcover is a plugin for Nose that extends the built-in coverage plugin to generate Cobertura-style XML reports (coverage.xml) via the `coverage.py` library. Version 1.0.11 is the latest release. The project is maintained but has very infrequent updates.","status":"active","version":"1.0.11","language":"python","source_language":"en","source_url":"http://github.com/cmheisel/nose-xcover/","tags":["nose","coverage","cobertura","xml","plugin"],"install":[{"cmd":"pip install nosexcover","lang":"bash","label":"Install with pip"}],"dependencies":[{"reason":"Required as the test runner","package":"nose","optional":false},{"reason":"Required for coverage measurement","package":"coverage","optional":false}],"imports":[{"note":"The plugin is not part of nose itself.","wrong":"from nose.plugins.cover import Nosexcover","symbol":"Nosexcover","correct":"from nosexcover import Nosexcover"}],"quickstart":{"code":"pip install nosexcover\nnosetests --with-xcoverage --with-coverage --cover-package=mypackage","lang":"bash","description":"After installing, run nosetests with --with-xcoverage to generate cobertura-style XML."},"warnings":[{"fix":"Use nosetests as the test runner.","message":"nosexcover requires nose to be installed. It does not work with pytest or other test runners.","severity":"gotcha","affected_versions":"all"},{"fix":"Include --with-coverage in your nosetests command.","message":"The --with-xcoverage flag must be used in combination with --with-coverage (or the default coverage plugin) to actually record coverage data.","severity":"gotcha","affected_versions":"all"},{"fix":"Avoid --cover-erase when using --with-xcoverage.","message":"If you use both --with-xcoverage and --cover-erase, the coverage.xml report may be empty because coverage data is erased after each run.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.0.11':29 'built':12 'built-in':11 'cobertura':19,45 'cobertura-styl':18 'coverag':14,44 'coverage.py':26 'coverage.xml':23 'extend':9 'generat':17 'infrequ':41 'latest':32 'librari':27 'maintain':37 'nose':7,43 'nosexcov':1,2 'plugin':5,15,47 'project':35 'releas':33 'report':22 'style':20 'updat':42 'version':28 'via':24 'xml':21,46","created_at":"2026-04-27T17:00:50.698370+00:00","updated_at":"2026-04-27T17:00:50.698370+00:00","problems":{"verify_error":"/tmp/tmpmldfczo7/venv/lib/python3.12/site-packages/nose/config.py:159: SyntaxWarning: invalid escape sequence '\\.'\n  self.ignoreFiles = (re.compile(r'^\\.'),\nTraceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpmldfczo7/venv/lib/python3.12/site-packages/nosexcover"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.0.11","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"http://github.com/cmheisel/nose-xcover","docs":null,"changelog":null,"pypi":"https://pypi.org/project/nosexcover/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"install_fail","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-09","install_tag":null}}