Add code coverage config and expand test suite
Adds .coveragerc configuration file to control coverage analysis settings. Expands test suite with additional unit tests for AbstractProcessor, SubjectMapper, CitationBuilder, LicenseProcessor, PIFinder, and MetadataProcessor classes. Updates README with comprehensive testing documentation, including information about current code coverage (53%) and instructions for running tests with coverage analysis.
This commit is contained in:
parent
2c88a76f4e
commit
1c84cae93b
3 changed files with 227 additions and 2 deletions
23
.coveragerc
Normal file
23
.coveragerc
Normal file
|
@ -0,0 +1,23 @@
|
|||
[run]
|
||||
source = doi2dataset
|
||||
omit =
|
||||
*/tests/*
|
||||
*/docs/*
|
||||
setup.py
|
||||
conf.py
|
||||
__init__.py
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
pragma: no cover
|
||||
def __repr__
|
||||
if self.debug:
|
||||
raise NotImplementedError
|
||||
if __name__ == .__main__.:
|
||||
pass
|
||||
raise ImportError
|
||||
except ImportError
|
||||
def __str__
|
||||
|
||||
[html]
|
||||
directory = htmlcov
|
Loading…
Add table
Add a link
Reference in a new issue