Test2::Event::Note â Note event type
| Use Case | Command | Description |
|---|---|---|
| Create a note event | $ctx->Note($message) | đ Issue a note message during a test |
| Access the message | $note->message | đ Retrieve the stored note text |
Notes, typically rendered to STDOUT. đ
use Test2::API qw/context/;
use Test2::Event::Note;
my $ctx = context();
my $event = $ctx->Note($message);
$note->message â The message for the note. đŦThe source code repository for Test2 can be found at http://github.com/Test-More/test-more/.
Chad Granum <exodist AT cpan.org>
Chad Granum <exodist AT cpan.org>
Copyright 2020 Chad Granum <exodist AT cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-24 12:10 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)