Customize Common Test Reports?

Loïc Hoguin essen@REDACTED
Mon Jan 11 11:23:52 CET 2021

On 11/01/2021 11:07, Vance Shipley wrote:

> For future Googlers the Comment column can be populated by returning
> {comment, "Comments"} from the test case or by calling ct:comment/1,2 within
> the test case.
> My use case was about adding test case "title" and/or "description". I
> have it in my mind
> that in the far past this was part of the report but it may just be
> that I was using
> the comment column.

I have a function that does both ct:comment and ct:log so the 
title/description is shown in both the table and on the individual test 
case's page. It's super useful, I put paraphrasing of RFCs in there so I 
know immediately what the test is about.

Loïc Hoguin

More information about the erlang-questions mailing list