Doctest - embed testable examples in your function's help comments
Put a usage example in the help of your function, then test it to make sure it still works over time
Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Citar como
Thomas Smith (2026). Doctest - embed testable examples in your function's help comments (https://la.mathworks.com/matlabcentral/fileexchange/28862-doctest-embed-testable-examples-in-your-function-s-help-comments), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: MUnit: a unit testing framework in Matlab, mlunit_2008a
Información general
- Versión (16,8 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux