xunit4

版本 4.0.1.0 (453.0 KB) 作者: Paul Sexton
xUnit for Matlab 4.1.0
769.0 次下载
更新时间 2021/5/4

编者注: This file was selected as MATLAB Central Pick of the Week

First off, if you're new to testing, you should probably just go use the UNITTEST framework included with R2013a and later. It will (hopefully) have better documentation and better support. On the other hand if you've got lots of existing xUnit tests, if you want to take advantage of the extra features of this framework, or if you just prefer to use open-sourced code, keep reading.

* Now that Steve Eddins is no longer updating his MATLAB xUnit test framework, this is its new home.
* Version 4.1.0 has been tested against every release from 2013b - 2016b, and is probably compatible with even older versions.
Highlights of release 4.0.0:

* "runtests" command renamed to "runxunit" so it can coexist peacefully with the unit testing framework added in R2013a.

* JUnit-style XML test reports for use with tools like Jenkins.

* Obsolete crap from the MTEST era removed.

* Semantic versioning and naming for everyone's sanity.

Highlights of release 4.1.0:

* Adds compatibility with 2016b.

引用格式

Paul Sexton (2024). xunit4 (https://github.com/psexton/matlab-xunit), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Testing Frameworks 的更多信息
致谢

参考作品: xml_io_tools

Community Treasure Hunt

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

Start Hunting!

architecture

doc/+abc/+tests

doc/+abc_tests

doc/example_quick_start

doc/example_subfunction_tests

doc/examples_2016b_compatibility

doc/examples_general

matlab-xunit

src

src/+xunit

src/+xunit/+private

src/+xunit/+utils

tests

tests/+xunit/+mocktests

tests/+xunit/+mocktests/+subpkg

tests/+xunit/+private

tests/+xunit/+private/private

tests/cwd_test

tests/dir1

tests/dir2

tests/helper_classes

tests/initTestSuiteTest

tests/initTestSuiteTest/+packaged

tests/private

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
4.0.1.0

Version 4.0.0 is broken in R2016b, due to changes made to MATLAB by The Mathworks.
Version 4.1.0 heroically repairs the damage (nearly).

1.2.0.0

Adding screenshot.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库