MATLAB的单元测试框架 [英] Unit-testing framework for MATLAB

查看:155
本文介绍了MATLAB的单元测试框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前有哪些用于MATLAB的单元测试框架,它们如何进行比较?我应该如何为我们的项目选择一个?他们的优缺点是什么?

What are the unit-testing frameworks for MATLAB out there, and how do they compare? How should I choose one for our project? What are their pros and cons?

推荐答案

我认为MATLAB最受欢迎的框架是

I think the most popular framework for MATLAB is xUnit Test Framework available on File Exchange. Very flexible and well documented.

此处另一个非常有趣的文件交换提交是

Another very recent and interesting File Exchange submission is Doctest. Not exactly unit-testing framework though, it works like doctest in Python. I haven't tried it yet, but looks very promising for simple tests embedded into function's help.

这篇关于MATLAB的单元测试框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆