Debian Codegraph @

internal/TODO

raw
1 Add full support for naming tests:
2 TI_NAME is the name of the current test
3
4 Consider adding the following from Test::More
5
6 note
7 explain
8 can_ok
9 isa_ok
10 subtest
11 cmp_ok
12
13 like
14 unlike
15 handles strings match regexps
16 lists contain certain element
17 hashes contain certain keys
18
19 Add support for input files
20
21 Look at:
22 Test::Group
23 Test::Slow
24 to see if there's anything I want to add.
25
26 Look at using Data::PrettyPrintObjects to print out the results.
27
28 Add support for timing tests:
29
30 ok 1 (12 ms)
31 ok 2 (23 ms)
32
33 Name each test (and break on test name) even if tests defined in a string.
34
35 =========================================================================
36 OLD STUFF
37
38 # Add a variable TI_TODO
39 # if '' (default) pass even if TODO tests fail
40 # if 'warn', pass but warn about TODO tests
41 # if 'fail', fail if TODO tests fail
42
43 # Add functions:
44 # like, unlike
45 # cmp_ok
46 # can_ok
47 # isa_ok
48 # new_ok
49 # subtest
50 # pass, fail
51 # is_deeply
52 # explain
53
54 # Conditional tests
55 # skip(N) skip next N (defaults to 1) tests
56 # todo_skip
57
58 # ARGS => VALS
59 # true if returned values are itentical to VALS
60 # ARGS =>OP VALS
61 # =>is
62 # =>isnt
63 # =>like
64 # =>unlike
65 # =>cmp(NOP)
66 # NOP : < > <= >= !=
67 # =>cmp(N,M)
68 # true if VAL > N and VAL < M
69 # =>cmp[N,M]
70 # true if VAL >= N and VAL <= M
71 # =>cmp(N,M]
72 # =>cmp[N,M)
73 # =>member
74 # true if the return value is any of the VALS