BluePyOpt icon indicating copy to clipboard operation
BluePyOpt copied to clipboard

Increase coverage

Open wvangeit opened this issue 3 years ago • 3 comments

Now that the coverage reporting is fixed we can see that the coverage has regressed over time. @AurelienJaquier @DrTaDa @anilbey, can you help getting the coverage closer to 100% again? I guess it's mostly deapext/CMA that needs some work.

wvangeit avatar Jun 07 '22 09:06 wvangeit

Btw, i don't think there is a functional test for CMA yet, it would be good to have one (i.e. run a 'very' small optimization with CMA and compare results)

wvangeit avatar Jun 07 '22 09:06 wvangeit

The built-in unittest.mock library can be handy for the parts of code that are harder to test. https://docs.python.org/3/library/unittest.mock.html#module-unittest.mock

anilbey avatar Jun 07 '22 10:06 anilbey

Partially full-filled with #402 and #403

DrTaDa avatar Jun 23 '22 13:06 DrTaDa