cdk / nwo-openscience-2024

Repository to track the progress of the NWO Open Grant accepted for the CDK in 2023.
https://www.nwo.nl/en/projects/osf232097
0 stars 0 forks source link

Improve testing coverage #6

Open egonw opened 9 months ago

egonw commented 9 months ago

Description:

Second, we wish to improve the maintainability of the library and improve the code coverage of
the (unit) testing to at least 50% for all modules (statistics available at app.codecov.io/gh/cdk/cdk).
egonw commented 3 months ago

I had a look at the org.openscience.cdk.controller package (in the extra module), but that one is hard to test, I think: https://app.codecov.io/gh/cdk/cdk/tree/master/misc%2Fcontrol%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenscience%2Fcdk%2Fcontroller

egonw commented 3 months ago

This one worked better. No new code needed, just making more "maven-like": https://github.com/cdk/cdk/pull/1081

Mostly increased counted :)

image

See https://app.codecov.io/gh/cdk/cdk/pull/1081/indirect-changes

egonw commented 2 months ago

new PR: https://github.com/cdk/cdk/pull/1095

image