Aviary icon indicating copy to clipboard operation
Aviary copied to clipboard

Complete code coverage for unittesting

Open jkirk5 opened this issue 1 year ago • 5 comments

Desired capability or behavior.

Aviary has very high code coverage with unittests, but many analysis components still don't have complete coverage. Tests should be updated to gain 100% coverage for files where that makes sense. Many functions/utils have incidental coverage by being used by other components, but should probably have their own tests.

Is your feature request related to a problem? Please describe.

No response

Associated Bug Report

No response

jkirk5 avatar May 10 '24 15:05 jkirk5

I added an assert_warning test suggested by Ken. And it is the first and only assert_warning test we have. We probably should have more.

xjjiang avatar Jun 05 '24 21:06 xjjiang

Some mission classes need assert_check_partials unit test.

xjjiang avatar Jul 08 '24 16:07 xjjiang

I've added check_partials and assert_near_equal to most components in subsystems. See PR442 and PR443

xjjiang avatar Jul 25 '24 04:07 xjjiang

added unit test on weight-mass conversion with GRAV_ENGLISH_LBM != 1 in PR#522

xjjiang avatar Sep 13 '24 22:09 xjjiang