Automatic validation of software

Validate software using a test library of functions in a directory.

이 제출물을 팔로우합니다

When developing a software package, it is useful to test changes by periodically running all the functions in a validation library. This function automates the process.

VALIDATE DIRNAME runs each M-file in the directory DIRNAME. Each M-file
should be a function that takes no inputs and returns a logical vector
or scalar. Three outcomes are possible:

'passed' All return values are true.
'failed' Some return value is false.
'crashed' Function threw an error.

A report is generated dynamically in the command window.

VALIDATE by itself tries to find a directory named 'validtests' in the
directory in which validate.m resides.

인용 양식

Toby Driscoll (2026). Automatic validation of software (https://kr.mathworks.com/matlabcentral/fileexchange/20037-automatic-validation-of-software), MATLAB Central File Exchange. 검색 날짜: .

카테고리

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

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

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

Bug due to an errant line as noted in the first review.