Martin
Martin
DDeno
Created by Martin on 10/26/2023 in #help
deno tap metadata
Hello. I am running deno tests with deno test --reporter=tap. I would like to add additional fields (medatata) to test output as YAML Diagnostic document. This would require some Deno test API for adding metadata: Deno.test({ name: "some test", metadata: { foo: "bar" }, fn: () => {}); or Deno.test({ name: "some test", fn: (t) => { t.set("foo", "bar"); }); this would produce TAP version 14 # ./foo.test.ts ok 1 - some test --- foo: bar ... Is something like this planned? And can I now work it around somehow?
3 replies