summaryrefslogtreecommitdiff
path: root/tests/test_data.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix a crash when reporting on an unmeasured file. #403Ned Batchelder2015-08-281-0/+23
|
* Data dumps can be canonicalized for comparisonNed Batchelder2015-08-241-10/+2
|
* Change CoverageData.read and .write to .read_fileobj and .write_fileobjNed Batchelder2015-08-211-2/+2
| | | | | This makes the break from v3 to v4 very clear and introspectable, and .read/.write were bad names for those methods anyway.
* CoverageData.read and .write are now inverses of each other.Ned Batchelder2015-08-201-1/+12
|
* Touching files in an empty CoverageData shouldn't force lines. #399Ned Batchelder2015-08-201-71/+108
| | | | | | | | py.test --cov can write empty data to arcs, and then touch files due to --source. This would make the file be about lines instead of arcs, and then combining would fail. This changed a lot of CoverageData, including some of the methods names.
* Refactor some data test codeNed Batchelder2015-08-141-22/+22
|
* Fixing spellingNed Batchelder2015-08-041-1/+1
|
* Erasing in parallel mode now deletes all the data files. #262Ned Batchelder2015-07-301-0/+10
|
* Clean up from the merge of PR 62Ned Batchelder2015-07-301-3/+30
| | | | | Remove the globbing option. Added a test. Corrected parameter names and docs. Updated the AUTHORS file.
* extend combine parameters to allow for file names and shell globsAlexander Todorov2015-07-291-1/+1
| | | | | --HG-- branch : combine_files_and_dirs
* When directories are provided to combine data files, fail if one doesn't exist.Ned Batchelder2015-07-281-1/+13
|
* Combine run_infos when combining data.Ned Batchelder2015-07-261-9/+31
|
* _GO_AWAY is not public.Ned Batchelder2015-07-261-3/+3
|
* Test CoverageData.run_infoNed Batchelder2015-07-261-2/+17
|
* More "plugin" --> "file tracer" in CoverageData.Ned Batchelder2015-07-251-17/+17
|
* Use more specific names than 'plugins', since there will be more of them in ↵Ned Batchelder2015-07-241-26/+26
| | | | the future.
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-0/+3
|
* The data file now has a warning in it, and is not pure JSON.Ned Batchelder2015-07-231-4/+13
|
* Fix the debug_main test to be order-invariant.Ned Batchelder2015-07-231-31/+26
|
* Test (and fix!) the secret data dumper.Ned Batchelder2015-07-231-2/+54
|
* Don't write a plugins key if there are no plugins.Ned Batchelder2015-07-221-0/+4
|
* Data files are now JSON instead of pickles. Fixes #236.Ned Batchelder2015-07-211-70/+70
|
* Remove CoverageData(collector=), we'll do it differently soon.Ned Batchelder2015-07-211-2/+2
|
* Add docs to CoverageData.Ned Batchelder2015-07-201-0/+2
|
* 2.6....Ned Batchelder2015-07-201-1/+1
|
* Check the error messages when we expect exceptionsNed Batchelder2015-07-201-11/+16
|
* Be more strict when recording plugin namesNed Batchelder2015-07-201-0/+22
|
* One more case to test, even beyond 100% coverageNed Batchelder2015-07-201-0/+12
|
* Fix and test add_to_hash: test_data.py now 100% covers data.pyNed Batchelder2015-07-201-0/+23
|
* Test the suffix handling when writing dataNed Batchelder2015-07-201-0/+31
|
* CoverageData.plugin_name() can now return None or '' to differentiate ↵Ned Batchelder2015-07-191-3/+42
| | | | unmeasured, or measured but no plugin.
* CoverageData.lines() and CoverageData.arcs() now distinguish between ↵Ned Batchelder2015-07-191-0/+16
| | | | unmeasured, and measured, but nothing ran
* Add some tests of updating plugin namesNed Batchelder2015-07-191-3/+35
|
* Give our test data better namesNed Batchelder2015-07-191-32/+32
|
* More testing of CoverageData.updateNed Batchelder2015-07-191-1/+32
|
* Start preventing incorrect mixing of data.Ned Batchelder2015-07-191-7/+61
|
* Tests of reading and writing dataNed Batchelder2015-07-181-4/+50
|
* Add test of the debug output when reading/writing dataNed Batchelder2015-07-181-1/+33
|
* Test CoverageData.plugin_nameNed Batchelder2015-07-181-1/+8
|
* Be sure not to write lines if we are measuring arcsNed Batchelder2015-07-181-1/+1
|
* Refactor collector->data; data has only one of lines and arcs.Ned Batchelder2015-07-181-4/+13
| | | | | | Now the collector communicates directly with the data, and control is less involved. In the data, when measuring arcs, only arcs are stored. Lines are calculated as needed. This saves space in the data file, and is faster.
* Reorganize the data testsNed Batchelder2015-07-161-19/+19
|
* Change CoverageData.summary() to CoverageData.line_counts()Ned Batchelder2015-07-161-11/+11
|
* Add a boolean interpretation of CoverageData.Ned Batchelder2015-07-161-0/+14
|
* PEP8 fixes, but too many to really fixNed Batchelder2015-07-161-5/+5
|
* Move suffix logic into data.pyNed Batchelder2015-07-151-3/+1
|
* Rejigger the data tests a tiny bitNed Batchelder2015-07-121-25/+25
|
* More simplification of the data apiNed Batchelder2015-07-121-12/+12
|
* More reworking of the data apiNed Batchelder2015-07-121-1/+2
|
* Split off CoverageDataFiles from CoverageDataNed Batchelder2015-07-111-15/+28
|