Andrew Tropin on Nostr: I'm experimenting with custom reporters: based on the predicate used in a test ...
I'm experimenting with custom reporters: based on the predicate used in a test assert, it produces messages in a format that make sense for this particular predicate.
For example for lset= it shows intersection of sets and the elements missing in the first one and second one.
Of course they should be customizable and pluggable.
#scheme
Published at
2024-12-19 10:05:44Event JSON
{
"id": "84d0b46e4f3c7a808c90858dee5636dfdc5e89dd24ffcd3d0fde91e998d12166",
"pubkey": "6a3558cf15e6f724383ef20c385d65abf8af54d22fbd7f9c758fda61a08357ed",
"created_at": 1734602744,
"kind": 1,
"tags": [
[
"t",
"scheme"
],
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/113/678/891/238/366/638/original/03384460d8e00503.png",
"m image/png",
"dim 2848x1704",
"blurhash U3SijYi^NIDi-;D*M{WBEOa~M{_3~XaixbV@"
],
[
"proxy",
"https://fosstodon.org/users/abcdw/statuses/113678925488912464",
"activitypub"
]
],
"content": "I'm experimenting with custom reporters: based on the predicate used in a test assert, it produces messages in a format that make sense for this particular predicate.\n\nFor example for lset= it shows intersection of sets and the elements missing in the first one and second one.\n\nOf course they should be customizable and pluggable. \n\n#scheme\n\nhttps://cdn.fosstodon.org/media_attachments/files/113/678/891/238/366/638/original/03384460d8e00503.png",
"sig": "face120625d51f3df42705f07637051f7913a09bf95e77d4ae7ba32c4560f3ed91fac9f086accf7aac54c4c5c381ec54602d1b023db648b3ed9429e7f3ed72ca"
}