-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathrelease-history.html
258 lines (233 loc) · 10.4 KB
/
release-history.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<html>
<head>
<title>matlab-xunit Release History</title>
</head>
<body>
<h1>matlab-xunit Release History</h1>
<h3>4.1.0 (2016-12-22)</h3>
<ul>
<li> Add compatibility with R2016b and newer. <a href="https://github.com/psexton/matlab-xunit/issues/19">#19</a></li>
<li> Fix issue with a partial path that is also on the MATLAB path. <a href="https://github.com/psexton/matlab-xunit/issues/14">#14</a></li>
<li> Fix a broken link in the documentation. <a href="https://github.com/psexton/matlab-xunit/issues/17">#17</a></li>
</ul>
<h3>4.0.0 (2014-07-21)</h3>
<ul>
<li> Adding JUnit-style XML output.</li>
<li> Renaming "runtests" command to "runxunit".</li>
<li> Removing "obsolete" subdirectory.</li>
<li> Introduction of <a href="http://semver.org/">semver</a> for versioning, <a href="http://semvername.org/">semvername</a> for naming, and <a href="http://xkcd.com/1179/">ISO 8601</a> for release dates.</li>
</ul>
<h3>3.1 19-Nov-2010</h3>
<ul>
<li>
Add -logfile option to runtests.
</li>
<li>
Allow test names to be passed to runtests as a cell array of strings.
</li>
<li>
Add test suite name and execution date to output of runtests.
</li>
<li>
Added warning message if function-handle-based test file has a setup function
that returns more than one output argument.
</li>
<li>
Fix bug related to handling subfunction test files in packages.
</li>
<li>
Fix TestSuite.fromPackageName to find tests inside subpackages.
</li>
<li>
Correct text in exTestCaseSearching.m to show that test files and functions
can begin or end with "test" or "Test".
</li>
</ul>
<h3>3.0.2 30-Jul-2010</h3>
<ul>
<li>
Fixed bug that caused TestCase subclasses in a test package to
be executed twice in some versions of MATLAB.
</li>
<li>
Documented the <tt>out = runsuite(...)</tt> syntax.
</li>
<li>
Added home doc links to the various doc pages.
</li>
</ul>
<h3>3.0.1 16-Jun-2010</h3>
<p>
Fixed handling of TestCase subclasses in a test package.
</p>
<h3>3.0 12-Jun-2010</h3>
<ul>
<li> Added capability to run tests stored inside packages. </li>
<li> <tt>runtests</tt> errors if no test cases are found instead
of silently passing. </li>
<li> Accept function names that end in "test" or "Test" as test functions. </li>
<li> In <tt>assertElementsAlmostEqual</tt> and <tt>assertVectorsAlmostEqual</tt>, change the
default <tt>floor_tol</tt> value to <tt>sqrt(eps)</tt> instead of <tt>eps</tt>. This makes the assertion
a bit more forgiving when comparing numbers very close to 0.</li>
<li> Added -verbose option to <tt>runtests</tt>. </li>
<li> Fixed handling of message strings containing sprintf-style control characters
in the assert*.m functions. </li>
</ul>
<h3>2.0.1 04-Aug-2009</h3>
<p>
Corrected errors in assertElementsAlmostEqual and assertVectorsAlmostEqual
related to NaN and Inf inputs. assertElementsAlmostEqual now properly
asserts when one input is finite and the other is infinite.
assertVectorsAlmostEqual now asserts whenever any input element is NaN
or infinite. The behavior of xunit.utils.compareFloats has been changed
to match.
</p>
<h3>2.0 05-June-2009</h3>
<ul>
<li>
The name of the package has been changed to "MATLAB xUnit Test Framework."
The command-line test runner is now called <tt>runtests</tt>. The utilities
package is now called <tt>xunit.utils</tt>. If you want to continue using
the old command-line test runner (<tt>mtest</tt>) and utilities package
(<tt>mtest.utils</tt>), then put the <tt>obsolete</tt> directory on the
MATLAB path.
</li>
<li>
The assertion functions <tt>assertEqual</tt>, <tt>assertElementsAlmostEqual</tt>,
and <tt>assertVectorsAlmostEqual</tt> now print more information about the input
values in the case of an assertion failure.
</li>
<li>
A new assertion function, <tt>assertFilesEqual</tt>, has been added.
</li>
<li>
The command-line test runner, <tt>runtests</tt>, now supports multiple directory
names.
</li>
<li>
The assertion function <tt>assertAlmostEqual</tt> has been deprecated. Use
<tt>assertElementsAlmostEqual</tt> and <tt>assertVectorsAlmostEqual</tt>
instead. If you want to continue using <tt>assertAlmostEqual</tt>, then
put the <tt>obsolete</tt> directory on the MATLAB path.
</li>
</ul>
<h3>1.1.3 20-May-2009</h3>
<p>
Remove the LICENSE.txt file because the open source BSD license is
now supplied automatically by the MATLAB Central File Exchange.
There are no functional changes in this version.
</p>
<h3>1.1.2 02-Apr-2009</h3>
<p>
This release fixes a bug with <tt>assertVectorsAlmostEqual</tt> when
the caller provided a custom message. When the function errored out
because the tolerance was exceeded, the function would issue a
different error message than expected.
</p>
<h3>1.1.1 16-Mar-2009</h3>
<p>
This release fixes a problem when calling mtest with no input
arguments. Previously, it was not limiting its test-case discovery
to TestCase subclasses and ordinary M-files beginning with "test"
or "Test" as documented.
</p>
<p>
This release also integrates the MTEST documentation with the MATLAB
Help Browser.
</p>
<h3>1.1 11-Mar-2009</h3>
<p>
This release adds new tools for performing floating-point
comparisons. Using the new assertion functions
<tt>assertElementsAlmostEqual</tt> and
<tt>assertVectorsAlmostEqual</tt>, you can perform both
absolute and relative tolerance comparisons, either elementwise
or in a vector L2-norm fashion.
</p>
<p>
The previous floating-point comparison function,
<tt>assertAlmostEqual</tt>, is still available, but its
use is discouraged.
</p>
<h3>1.0 30-Jan-2009</h3>
<p>
This release, the first to be posted on the MATLAB Central File
Exchange, includes a refactoring of TestCase and TestSuite to use
the composite design pattern. Both classes now subclass the
abstract class TestComponent, and the individual items contained
in a TestSuite object are TestComponent objects. That means
a TestSuite object can contain both TestSuite objects and
TestCase objects.
</p>
<p>
TestSuites are now built up hierarchically. All the test cases
in a subfunction-based test M-file become a test suite, which in
turn can be part of a test suite for an entire test directory.
</p>
<p>
The mtest driver function can now take the name of a directory,
in which case it will automatically discover and run all the test
cases in that directory.
</p>
<p>
The old TestRunObserver class has become the abstract TestRunMonitor
class, with subclasses TestRunLogger and CommandWindowTestRunDisplay.
</p>
<p>
TestCaseInDir has been modified to do a directory change before
executing the test case. The new class TestCaseWithAddPath makes
a temporary path addition before executing the test case.
</p>
<p>
Subfunction-based test M-files written for one of the alpha versions
of MTEST need to be revised so that the output variable name is
"test_suite", and so that the first line of code calls the script
"initTestSuite".
</p>
<h3>0.9 12-Sep-2008</h3>
<p>
This release is an extensive update that provides simpler ways of
writing and running test cases.
</p>
<ul>
<li>
The new function mtest automatically finds and runs all test
cases in the current directory.
</li>
<li>
Test cases can be written as simple M-file functions.
</li>
<li>
Multiple test cases can be defined in a single M-file by using
subfunctions.
</li>
<li>
Many new documentation examples have been provided, including a
"Quick Start" example intended to enable users to write and
run their first tests in just a few minutes.
</li>
</ul>
<h3>0.8.1 17-Mar-2008</h3>
<ul>
<li>
Some of the sample TestCase classes were missing classdef lines.
FIXED
</li>
<li>
Now using dot method invocation syntax in examples and doc.
</li>
<li>
Minor edits to HTML doc (munit_doc.html).
</li>
<li>
Edited munit_doc.html by hand to clean up command-window links.
</li>
</ul>
<h3>0.8 15-Mar-2008</h3>
<ul>
<li>
Limited initial distribution for review and comment.
</li>
</ul>
</body>
</html>