animate1978 / MB-Lab

MB-Lab is a character creation tool for Blender 4.0 and above, based off ManuelBastioniLAB
Other
1.84k stars 314 forks source link

Unit tests #179

Open mklemarczyk opened 4 years ago

mklemarczyk commented 4 years ago

Is your feature request related to a problem? Please describe. Current version of add-on is not tested by anything. It ends up with problems like: missing include, not existing variable, etc.

Describe the solution you'd like Create basic unit tests in scope of critical areas. It will not be very easy, we can try to check how other add-ons work in this area.

Describe alternatives you've considered Minimal tests should cover automatic (each PR) static analysis of the code. Thanks to it we should be able to discover trivial problems earlier.

Additional context It is extremely easy to introduce bugs with even simple refactoring in the code.