Skip to content

Commit ab83fc2

Browse files
committed
t/run/todo.t: Issues number should be in test names
As noted by James Keenan, the issue number is displayed just fine for these tests while they are TODO, but when they get moved to a permanent .t (after getting fixed), the number gets lost.
1 parent 052a79a commit ab83fc2

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

t/run/todo.t

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,20 @@
2626
# significant amount of sophistication to use correctly. It's best to start
2727
# out, if possible, by avoiding issues that crash the interpreter and need
2828
# these.
29-
29+
#
30+
# Each test name should include the GH number. While still todo, the software
31+
# displays the number, but after they're fixed, we will move them to a
32+
# permanent position in an appropriate test file, and the ticket number would
33+
# get lost. You could do something like the following:
34+
# TODO: {
35+
# local $::TODO = "GH #####";
36+
# is($got1, $expected1, "your text1 here: GH ####");
37+
# is($got2, $expected2, 'your text2 here: GH ####');
38+
# ...
39+
# }
40+
#
41+
# or something else to get the number in the testname.
42+
#
3043
# Some domains have infrastructure which may make it easier to add a test
3144
# there, than to have to set up things here. These include:
3245
#

0 commit comments

Comments
 (0)