nasa/opera-sds-pcm

[Task]: Improve the unit tests for Production and Retrieval Time reports in Bach API repository

Opened this issue · 0 comments

Checked for similar tasks

No - I haven't checked

Describe the task

The task is to complete the unit tests for the code that generates production time and retrieval time reports in the Bach API repository.

High-level goals for the unit tests (not necessarily complete, but most of these are not currently implemented):

  • Cover all nominal / basic functionality for both detailed and summary reports
    • receiving data for each product type supported by the system
    • receiving multiple products for each product type, and correctly generating reports and calculating statistics
  • Cover any obvious "edge cases" for both detailed and summary reports
    • receiving no data (already done)
    • receiving data for one product type, but none for other product types (minimally exercised, but not completely)
    • receiving incomplete data for one or more data products (e.g. a missing timestamp)

Prerequisites or Requirements

1.
2.
3.
...

Expected Deliverables

1.
2.
3.
...

Additional Context

No response