summaryrefslogtreecommitdiff
path: root/lab
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-18 07:13:19 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-18 07:13:19 -0400
commited2266434af1582cd94c1b89f7172bad62f88745 (patch)
treea5c6321dd7ab1b69ab64d47a81aa289c3c82a08b /lab
parent87380ac6a78f3744e188bc2685321dc2e5eae9e1 (diff)
downloadpython-coveragepy-git-ed2266434af1582cd94c1b89f7172bad62f88745.tar.gz
Sketch of eventual data format.
Diffstat (limited to 'lab')
-rw-r--r--lab/new-data.js58
1 files changed, 58 insertions, 0 deletions
diff --git a/lab/new-data.js b/lab/new-data.js
new file mode 100644
index 00000000..95f16a8f
--- /dev/null
+++ b/lab/new-data.js
@@ -0,0 +1,58 @@
+{
+ "collector": "coverage.py 4.0",
+ "config": {
+ "branch": true,
+ "source": ".",
+ },
+ "collected": "20150711T090600",
+ "files": {
+ "a/b/c.py": {
+ "lines": [1, 2, 3, 4, 5],
+ "arcs": [
+ "1.2", "3.4", "5.-1"
+ ],
+
+ "plugin": "django.coverage",
+
+ "lines": {
+ "1": {
+ "tests": [
+ "foo/bar/test.py:TheTest.test_it",
+ "asdasdasd",
+ ],
+ "tests": [17, 34, 23, 12389],
+ },
+ "2": {
+ "count": 23,
+ },
+ "3": {},
+ "4": {},
+ "17": {},
+ },
+
+ "arcs": {
+ "1.2": {},
+ "2.3": {},
+ "3.-1": {},
+ },
+ },
+ },
+
+ "tests": [
+ {
+ "file": "a/b/c.py",
+ "test": "test_it",
+ },
+ {
+ "file": "a/b/d.py",
+ "test": "TheTest.test_it",
+ },
+ ],
+
+ "runs": [
+ {
+ // info about each run?
+ },
+ { ... },
+ ],
+}