Open
Milestone started on Nov 2, 2023

Improve tests, coverage, and reporting

A recent MR corrected some import issues in makecsv.py that went unnoticed through testing. We should aim to cover as much of the code as possible with units tests so this is a good reminder to set a goal for improving testing in general. An informative first step would be incorporating coverage reports into our CI and repository.

Some general goals might be:

  • Create a unit test to cover makecsv.py
  • Add coverage reporting to CI and save as artifacts
  • Assess new tests needed and define an initial target coverage percentage

Edit to add: Now that the coverage and badges are displayed, we are currently at 58% coverage

  • Work items 2
  • Merge requests 2
  • Participants 1
  • Labels 2
Loading
Loading
Loading
Loading
50% complete
50%
Start date
Nov 2, 2023
From
Nov 2 2023
Due date
No due date (783 days elapsed)
2
Work items 2 New issue
Open: 1 Closed: 1
2
Merge requests 2
Open: 0 Closed: 0 Merged: 2
1
Release
v1.0.1
Reference: ghsc/esi/shakemap-modules%"Improve tests, coverage, and reporting"