File: TODO

package info (click to toggle)
libtest-inter-perl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: perl: 1,776; sh: 22; makefile: 6
file content (74 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download
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
Add full support for naming tests:
   TI_NAME is the name of the current test

Consider adding the following from Test::More

   note
   explain
   can_ok
   isa_ok
   subtest
   cmp_ok

   like
   unlike
       handles strings match regexps
       lists contain certain element
       hashes contain certain keys

Add support for input files

Look at:
   Test::Group
   Test::Slow
to see if there's anything I want to add.

Look at using Data::PrettyPrintObjects to print out the results.

Add support for timing tests:

   ok 1  (12 ms)
   ok 2  (23 ms)

Name each test (and break on test name) even if tests defined in a string.

=========================================================================
OLD STUFF

# Add a variable TI_TODO
#   if '' (default) pass even if TODO tests fail
#   if 'warn', pass but warn about TODO tests
#   if 'fail', fail if TODO tests fail

# Add functions:
#    like, unlike
#    cmp_ok
#    can_ok
#    isa_ok
#    new_ok
#    subtest
#    pass, fail
#    is_deeply
#    explain

# Conditional tests
#    skip(N)   skip next N (defaults to 1) tests
#    todo_skip

# ARGS => VALS
#    true if returned values are itentical to VALS
# ARGS =>OP VALS
#    =>is
#    =>isnt
#    =>like
#    =>unlike
#    =>cmp(NOP)
#       NOP : < > <= >= !=
#    =>cmp(N,M)
#       true if VAL > N and VAL < M
#    =>cmp[N,M]
#       true if VAL >= N and VAL <= M
#    =>cmp(N,M]
#    =>cmp[N,M)
#    =>member
#       true if the return value is any of the VALS