munit

Unit tests with MATLAB.

이 제출물을 팔로우합니다

This is an attempt to build a convenient unit test procedures for MATLAB files, following ideas of JUnit for Java, or CUnit.
Idea is create one test for each user function. This test calls user function, and assert some results. If the result does not correspond to the expected one, an 'assertion' is thrown.

At the end of the test, all wrong assertions are shown, and number of passed and failed tests is shown.

Then, if tests are correctly written, lanching the tests after modifications of user programs allows to check no bugs are added.

A (very) simple example is given in directory munit/demo.

인용 양식

David Legland (2026). munit (https://kr.mathworks.com/matlabcentral/fileexchange/7845-munit), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 준 파일: MUnit: a unit testing framework in Matlab

카테고리

Help CenterMATLAB Answers에서 Testing Frameworks에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.1.0

update license

1.0.0.0