Giter Club home page Giter Club logo

Comments (5)

haworku avatar haworku commented on August 23, 2024

Potential scope:

  • add a yarn script test coverage that runs jest --coverage
  • add github badges that show code coverage

Or what does a "test coverage collection" mean? Maybe I'm misunderstanding.

from react-uswds.

eamahanna avatar eamahanna commented on August 23, 2024

@suzubara @haworku I would like to look into this further. Is there a particular direction either of you were imagining?

from react-uswds.

suzubara avatar suzubara commented on August 23, 2024

@jenniferlynparsons tagging you in case you have any thoughts or preferred tools? Since we're open source anything that is free for open source and will integrate easily with CircleCI or Github Actions would be ideal

from react-uswds.

jenniferlynparsons avatar jenniferlynparsons commented on August 23, 2024

I wish I had preferred tools to offer! Previous projects I've worked on had a precommit hook that was set for 100% coverage so that made it simple. 😄
That said, this tool looks interesting and robust and offers a completely free tier for open source projects. https://about.codecov.io/

from react-uswds.

suzubara avatar suzubara commented on August 23, 2024

To clarify the scope of this issue:

  • Minimum requirement is that some part of the CI flow fails if test coverage drops below a certain threshold. I think we can define that threshold to wherever it is now, and use it to ensure we aren't dropping.
  • A nice to have would be a badge displaying current code coverage info in the README, but this will likely require integrating with a service like codecov.io and IMO is not strictly necessary as part of this issue.

from react-uswds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.