idaholab / HERON

Holistic Energy Resource Optimization Network (HERON) is a modeling toolset and plugin for RAVEN to accelerate stochastic technoeconomic assessment of the economic viability of various grid-energy system configurations, especially with application to electrical grids and integrated energy systems (IES).
Apache License 2.0
24 stars 38 forks source link

[TASK] Code Coverage Tracking #376

Closed caleb-sitton-inl closed 1 month ago

caleb-sitton-inl commented 3 months ago

Issue Description

Is your feature request related to a problem? Please describe. No. Code coverage tracking merely provides a quantitative approximation of the comprehension of the overall test suite and eases the process of identifying specific areas where additional testing is most valuable.

Describe the solution you'd like A script should be added that allows the user to check the coverage of HERON. It should return detailed information including not only the total coverage percentage, but also the specific percentages for individual files and functions. This script should not mask the results of the tests run.

Describe alternatives you've considered Manually approximating which files, functions, etc. need additional testing is far less precise than checking coverage, and is thus not a good solution.


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

GabrielSoto-INL commented 1 month ago

Closing this issue after merging #378