WildAid / o-fish-web

Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Apache License 2.0
32 stars 41 forks source link

Setup test coverage and (optionally enforce test coverage threshold on CI) #384

Open lenmorld opened 3 years ago

lenmorld commented 3 years ago

Is your feature request related to a problem? Please describe. After https://github.com/WildAid/o-fish-web/issues/317 is resolved, we will have a test infrastructure and a document for writing tests.

Describe the solution you'd like The next step is to track coverage and later on possibly enforce a coverage threshold per commit (e.g. when adding a new component, or changing code for an existing component, must be 90-100% coverage)

This is to help improve code quality and prevent some bugs

Sheeri commented 3 years ago

Love it! Feel free to start working on it and let me know if you do, I can assign it to you.