Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support Jest's clover.xml coverage report #25

Open
jpizzati-uvl opened this issue Feb 15, 2023 · 0 comments
Open

[Feature] Support Jest's clover.xml coverage report #25

jpizzati-uvl opened this issue Feb 15, 2023 · 0 comments

Comments

@jpizzati-uvl
Copy link

Jest generates a coverage output in XML format:

<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1676473924354" clover="3.2.0">
  <project timestamp="1676473924354" name="All files">
    <metrics statements="78" coveredstatements="72" conditionals="48" coveredconditionals="31" methods="23" coveredmethods="20" elements="149" coveredelements="123" complexity="0" loc="78" ncloc="78" packages="8" files="11" classes="11"/>
    <package name="components.button">
      <metrics statements="2" coveredstatements="2" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
      <file name="button.tsx" path="/Users/jpizzati/Sites/base-ui/components/button/button.tsx">
        <metrics statements="2" coveredstatements="2" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
        <line num="19" count="1" type="stmt"/>
        <line num="26" count="2" type="stmt"/>
      </file>
    </package>
  </project>
</coverage>
@jpizzati-uvl jpizzati-uvl changed the title Support Jest's clover.xml coverage report [Feature] Support Jest's clover.xml coverage report Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant