summaryrefslogtreecommitdiff
path: root/coverage/xmlreport.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: mypy doesn't need this cast anymoreNed Batchelder2023-05-131-2/+2
|
* refactor: file names match the commands they implement betterNed Batchelder2023-05-131-1/+1
|
* refactor: parametrize a test for #1608Ned Batchelder2023-04-271-3/+3
|
* fix: source paths with trailing slashes causing inconsistent sources in XML ↵Kevin Brown-Silva2023-04-271-0/+2
| | | | | | | | | | | | | | | | | | | report with relative_paths (#1608) * Added failing test for source with trailing slash This test is nearly identical to the one above it, with the only change being the source that is used. This may end up turning into a fixture instead if the tests end up being identical after the fix is made. * Strip trailing slash for relative source paths This fixes an issue introduced in 45cf7936ee605cfe06f7f5967a72a73198960120 where using `relative_files=True` and `src` with a trailing slash, the source inserted as `<sources>` in the XML report would also have a trailing slash. This also fixes an issue introduced in the same commit where an empty `<source>` would be inserted as well for cases where the `src` has a trailing slash.
* style: use double-quotesNed Batchelder2023-03-221-4/+4
|
* fix: generate xml report packages correctly on windows (#1574)Benjamin Parzella2023-03-141-1/+1
| | | | | | | * fix: generate xml report packages correctly on windows * test: check duplicate package names in xml report * fix: shorten long line in test_xml
* fix: export our public names for type checking. #1564Ned Batchelder2023-02-261-1/+2
|
* mypy: turn on disallow_untyped_callsNed Batchelder2023-01-121-9/+14
|
* style: use good style for annotated defaults parametersNed Batchelder2023-01-051-1/+1
|
* mypy: xmlreport.pyNed Batchelder2023-01-011-26/+47
|
* fix: more relative_files=true fixes. #1280Ned Batchelder2022-10-301-1/+2
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-2/+2
|
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-2/+2
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-261-0/+2
|
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-121-4/+4
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-3/+2
|
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-3/+2
| | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-5/+1
|
* --skip-empty now applies to the XML report also. #976nedbat/bug976Ned Batchelder2020-06-301-0/+4
|
* relative_files makes XML store relative paths. #948.Ned Batchelder2020-03-151-3/+5
|
* Create a JSON reportMatt Bachmann2019-08-311-9/+8
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-5/+5
|
* Get rid of Reporter base classNed Batchelder2019-06-161-4/+6
|
* Rewrite XML tests to use xml parsing instead of regexesNed Batchelder2019-03-231-13/+0
|
* Canonicalize the XML outputNed Batchelder2018-11-111-5/+24
| | | | | | | | | | https://bugs.python.org/issue34160 added retaining the user's attribute order to the XML output, which removed the sorting that used to happen. This broke our XML tests, which compare against saved gold files. This adds in a rough-and-ready canonicalization to avoid the problem. Maybe the core devs will eventually support a sort_attributes option, and I can get rid of this.
* Be stricter about self._dataNed Batchelder2018-07-081-1/+2
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Make sure xml reports specify valid source filenames. #526Ned Batchelder2017-05-051-1/+1
|
* Fix: xml report fails in non-ascii directory. #573Ned Batchelder2017-04-301-1/+1
|
* Use Cobertura v4 XML format. #570Ned Batchelder2017-04-041-8/+10
|
* Use explicit integer division where we need integer divisionNed Batchelder2016-09-281-1/+1
|
* Merge the windows fixNed Batchelder2016-01-231-3/+3
|\
| * Windows fixesNed Batchelder2016-01-231-3/+3
| |
* | Remove an unused variableNed Batchelder2016-01-231-1/+1
|/
* Do a better job with sources in the XML reportNed Batchelder2016-01-231-12/+16
|
* Windows windowsNed Batchelder2015-11-221-1/+1
|
* XML <source> element properly reflects --source= option. #439Ned Batchelder2015-11-221-3/+9
|
* Properly handle filenames with non-ASCII characters. #432Ned Batchelder2015-10-251-1/+5
|
* Protect ourselves from mock'ed os. #416Ned Batchelder2015-10-061-0/+4
|
* Fix 'filename' to be 'file name' in English.Ned Batchelder2015-08-201-1/+1
|
* Rename .statements and .excluded_statements to .lines and .excluded_linesNed Batchelder2015-08-091-1/+1
|
* Too many things named "arcs". Rename the booleans.Ned Batchelder2015-08-081-6/+6
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* The DTD is no longer valid. Don't reference it.Ned Batchelder2015-07-221-2/+2
|
* Add an attribute to the XML report for missed branchesNed Batchelder2015-07-221-0/+4
|
* Tweak the merge of PR #58Ned Batchelder2015-07-211-7/+6
|
* Adding DTD_URL constant to coverage.xmlreport, pointing DTD_URL at current ↵Ted Wexler2015-07-201-1/+5
| | | | commit of coverage-03.dtd in the Ccobertura github repository.
* Remove the last vestige of FileReporter.nameNed Batchelder2015-07-041-1/+1
|
* Change FileLocator from a class to module-level functionsNed Batchelder2015-06-131-5/+4
|
* Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-3/+3
|