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
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Zitieren als
Thomas Smith (2026). Doctest - embed testable examples in your function's help comments (https://de.mathworks.com/matlabcentral/fileexchange/28862-doctest-embed-testable-examples-in-your-function-s-help-comments), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: MUnit: a unit testing framework in Matlab, mlunit_2008a
Allgemeine Informationen
- Version (16,8 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0 | Added a note that the bug tracker is available, and invited to contribute |
||
| 1.0.0 |