Is there a Matlab tool similar to Python Doctest?

In my development, Python doctestreally helped as

  • make unit tests less annoying, and
  • Combine use cases with documentation.

I was wondering if there is anything like this in the Matlab world? He should not literally use code comments as a test, but if he had these two desirable qualities, that would be great!

+4
source share
3 answers

, -, M2HTML.

, , , ( :)).

MATLAB, , mlUnit .

+2

There is no direct equivalent in MATLAB doctest.

However, there is a good infrastructure for testing modules on Matlab File Exchange .

+1
source

Source: https://habr.com/ru/post/1751432/


All Articles