makehumancommunity / mpfb2

MPFB2 is a free and open source human generator for Blender
http://static.makehumancommunity.org/mpfb.html
Other
322 stars 39 forks source link

Improve test coverage of the service classes #207

Closed joepal1976 closed 3 weeks ago

joepal1976 commented 3 months ago

Pretty much all of the core logic is implemented through service classes with static utility methods. These are all written to be agnostic as to what the user is doing with the interface. Ideally, they should have close to full direct test coverage.

At the moment, only a few of the service classes have direct test coverage (ie unit tests that calls the method of the class directly). However, as the classes call each other, a few classes have indirect test coverage that way.

At least the following very important service classes should have direct and specific unit tests:

The other service classes (such AnimationService, the config sets etc) are less critical.

joepal1976 commented 3 weeks ago

Good enough for now.