-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
60 lines (53 loc) · 2.62 KB
/
Changes
File metadata and controls
60 lines (53 loc) · 2.62 KB
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
0.2_02 2025 Apr 08
0.1.6_01
[[ COPYRIGHT TYPO fix in 0.1.6_01! Please use this instead of _00 ]]
- Some copyright jargon -- sorry! But please just read the
header and actually do as I request... you will be fine. :)
* Many methods are mistakenly labeled "protected".
* An egregious bug that makes confess()'ing exception die of
printf-format exception was caught, vanquished, and toasted
with the flames of a thousand suns
* A typo I missed while copying from v0.1 that causes batch
test numbers to start at 1 in each subtest has been corrected.
* fail(), pass(), skip() now take printf-format arguments.
(They also return more useful stuff than being void methods.)
Beware of the preceding bug; make sure to do this when
passing any unsuspecting strings:
fail ("%s", reason); /* reason might contain %s! */
- The howto guide has a bit more information (partly me
realizing how flawed this whole thing still is... eh)
0.1.6_00 2025 Apr 07
TAP v0.1 now enters maintenance status. Its code
will co-exist with @version 0.2 in this worktree,
however beware that not all files apply everywhere.
0.2_01 2025 Apr 07
exec() is now split into plan(int[]), run() / runff()
How? Why? read howto/ver0.2.txt to find out...
XXX: runff() was meant for jdb(1) but i have no idea how
to enter stack frames. probably don't count on it... :(
0.2_00 2025 Apr 05, 06
This is a second attempt that shifts away from the
model of inheritance. It tries to separate the test
runner from the tests themselves. The minor version
bump is there not only because this is a new week
project, but also that, as you can imagine, it is
essentially incompatible with the embedded version.
This is also where I will try to stabilize the API,
so there will be greater promises... though for now it
will be an alpha for myself (and maybe people?) to try.
0.1.6 2025 Feb 24, Mar 5, 6, 7, 13, 14, 15
This was a first attempt at reorganizing test code.
Most prominently, there is now exec () that supports
testing classes that are not ours. Several utility
methods like note (), skip () and fail () for a variable
number of tests, and (with some reluctance) is () are
added as well. It has been added as src/body.java and
can be generated using `./gen-embed CLASSNAME'. An
example using this can be found in `BinarySearchTree.java',
which has been written from scratch exclusively for the
purpose of demonstration.
0.1 2025 Jan 26 - 29
The initial versions of `TAP for Java' was
embedded throughout Binary Search Tree classes.
There is little worth in revisiting these, as they
rely on very much hard-coded stuff.