summaryrefslogtreecommitdiff
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
commitefc976cfe783bff8af548e60c6146b489dde96e4 (patch)
treeaf5678e7b5b67b5e9ff5c3f55c7401691492e5ee
parent7f1013777761d81cddb67329ae51d501b98f6600 (diff)
downloadpython-coveragepy-efc976cfe783bff8af548e60c6146b489dde96e4.tar.gz
Sketch of eventual data format.
-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 0000000..95f16a8
--- /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?
+ },
+ { ... },
+ ],
+}