openfoodnetwork icon indicating copy to clipboard operation
openfoodnetwork copied to clipboard

Check and update test coverage of Xero Invoices report

Open lin-d-hop opened this issue 5 years ago • 1 comments

What we should change and why (this is tech debt)

To reduce the task of testers we wish to check the test coverage of reports. Xero Invoices report: https://github.com/openfoodfoundation/openfoodnetwork/blob/master/spec/lib/open_food_network/xero_invoices_report_spec.rb https://github.com/openfoodfoundation/openfoodnetwork/blob/master/spec/controllers/spree/admin/reports_controller_spec.rb.

Tests should cover all filter options in the UI.

Context

Reducing manual testing task.

Impact and timeline

Agreed in Brussels (FOSDEM2020) to continually one issue to increase test coverage exists in the delivery pipe. Priority will be reports and code areas that frequently lead to S1s and S2s.

lin-d-hop avatar Feb 03 '20 13:02 lin-d-hop

@filipefurtad0 I'm trying to reduce the number of issues in our repository (new contributors interpretation of he number of issue is that we don't update our repo very often). Would it make sense to keep as open issue, just a big epic listing all reports, and we open individual issues only when starting to work on it?

RachL avatar Oct 06 '22 15:10 RachL

Closing, reports have much better test coverage now

lin-d-hop avatar Nov 21 '22 16:11 lin-d-hop