nightvisi0n / dockgraph

Analyse dependencies of docker images.
Creative Commons Attribution Share Alike 4.0 International
2 stars 1 forks source link

Improve code coverage #13

Closed nightvisi0n closed 8 years ago

nightvisi0n commented 8 years ago

Write more unit tests! :tm: We should reach near 100% code coverage.

nightvisi0n commented 8 years ago

@sedrubal what do you think about the missing parts in bin/docktree_cli? I think it is not necessary to test the main function, since every function call there is already tested somewhere else.. Furthermore i found no easy way to test the main function. Therefore i would suggest to ignore these parts in the coverage.py config file..

sedrubal commented 8 years ago

You're right. I don't think we have to test the missing parts...