note() does the same as diag(), but when running under the prove it does not show up.

examples/perl/t/33_note.t
use strict;
use warnings;

use lib 'lib';
use MyTools;

use Test::More tests => 3;

diag "Add two numbers";

is(sum(1, 1),    2,     '1+1');
is(sum(2, 2),    4,     '2+2');

diag "Add 3 numbers";
note "We have a bug here, we cannot add more than 2 numbers #173";
is(sum(2, 2, 2), 6,  '2+2+2');

$ perl t/33_note.t

1..3
# Add two numbers
ok 1 - 1+1
ok 2 - 2+2
# Add 3 numbers
# We have a bug here, we cannot add more than 2 numbers #173
not ok 3 - 2+2+2
#   Failed test '2+2+2'
#   at t/t33_note.t line 16.
#          got: '4'
#     expected: '6'
# Looks like you failed 1 test of 3.

$ prove t/33_note.t

t/33_note.t .. # Add two numbers
t/33_note.t .. 1/3 # Add 3 numbers

#   Failed test '2+2+2'
#   at t/33_note.t line 16.
#          got: '4'
#     expected: '6'
# Looks like you failed 1 test of 3.
t/33_note.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

Test Summary Report
-------------------
t/33_note.t (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  3
  Non-zero exit status: 1
Files=1, Tests=3,  0 wallclock secs
    ( 0.02 usr  0.01 sys +  0.02 cusr  0.00 csys =  0.05 CPU)
Result: FAIL
Failed 1/1 test programs. 1/3 subtests failed.