Re: Customize Common Test Reports?

Loïc Hoguin <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Organization Nine Nines
Message-ID <[email protected]>
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
https://ninenines.eu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.