#Generate jUnit XML file from Deno Tests

11 messages · Page 1 of 1 (latest)

weak skiff
#

Hey is it possible that the Deno Test suite generates a jUnit XML about the Test? So that I can display the results on GitLab/GitHub?

golden token
weak skiff
#

Nice. Does this already work?

#

And if so how can I use it?

golden token
#

Did you try the steps in the PR? It lists the following command deno test -A --unstable --junit=./report.xml path/to/my_test.ts

weak skiff
#

Yea I tried that but it gives me an error saying that --junit is not a valid argument. I am also running the latest version of Deno

#
deno 1.35.3
zinc echo
#

That looks like you have an emdash instead of two dashes in the argument.

weak skiff
#

No there are 2 -- it just looks diffrent. I have tried every possible combination.

weak skiff
#

But it still does not work xD