jagerber48 / sciform

A package for formatting numbers into scientific formatted strings.
https://sciform.readthedocs.io/en/stable/
MIT License
14 stars 2 forks source link

More modular unit testing #102

Open jagerber48 opened 10 months ago

jagerber48 commented 10 months ago

Many of the tests are more like integration than unit tests. While these are valuable and demonstrate good usage example, I think it would help the organization and usefulness of the tests if there were more modular unit tests. e.g. testing the functionality of the various formatting utilities, or the construction of format options classes from the FSML.

jagerber48 commented 9 months ago

This issue begins to be addressed by #158 which sorts tests into unit tests and feature tests. That sorting revealed that almost all of the tests are feature tests. There is very little unit testing. This issue is a call for more unit testing.

jagerber48 commented 8 months ago

More unit tests can still be added after #161