Automatic validation of software

バージョン 1.0.0.0 (3.07 KB) 作成者: Toby Driscoll
Validate software using a test library of functions in a directory.
ダウンロード: 1.4K
更新 2008/7/22

ライセンスの表示

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 (2024). Automatic validation of software (https://www.mathworks.com/matlabcentral/fileexchange/20037-automatic-validation-of-software), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersTesting Frameworks についてさらに検索
謝辞

ヒントを与えたファイル: threeD_grasp, Truss displacement based on FEM, Beam information

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

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