Skip to content

Improve test coverage #184

@tarkatronic

Description

@tarkatronic

#164 is now nearly finished; there is only one file left, tests/xpath/00_pathhelper_base.py, and the actual efficacy of the tests is starting to become a little more evident. Overall, they're pretty good, but there definitely needs to be some improvement to help with efforts, such as Python 3 compatibility.

As of now, here is the current coverage of the tests:

Name                            Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------
pyangbind/__init__.py               1      0      0      0   100%
pyangbind/helpers/__init__.py       0      0      0      0   100%
pyangbind/helpers/identity.py      95     95     40      0     0%
pyangbind/helpers/misc.py          25     25     16      0     0%
pyangbind/lib/__init__.py           0      0      0      0   100%
pyangbind/lib/base.py              59     12     44     11    76%
pyangbind/lib/pybindJSON.py       105     69     56      5    29%
pyangbind/lib/serialise.py        357     61    270     42    80%
pyangbind/lib/xpathhelper.py      192     26     94     23    83%
pyangbind/lib/yangtypes.py        813     87    378     54    87%
setup.py                           11      0      0      0   100%
-----------------------------------------------------------------
TOTAL                            1658    375    898    135    75%

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions