Skip to content

Adding notes to a recording

Paul Hammant edited this page Jul 20, 2019 · 2 revisions

As you record interactions between the client and the server, notes can be added to the markdown:

new MarkdownRecorder()
    .noteForNextInteraction("Some title", "Paul was here\n
                And he suggests you ignore this note");

That itself is Markdown, so can contain suitable formatting codes.

And if you wanted a code block that won't be processed as Markdown, then that is possible too:

new MarkdownRecorder()
    .codeNoteForNextInteraction("Note", 
                "foo.bar(true); // activates something important in our tests");
Clone this wiki locally