Write unit tests

Description

We need unit tests that report coverage statistics.

The functionality that needs testing is described (at the WSAPI level) in Library Data Platform API

There are two fairly trivial calls to obtain information about the underlying database's schemas, tables and columns, and one call for searching. This is the only really interesting part of the module.

Testing these calls may involve mocking a back-end database. But much can be achieved just by testing the query translation. I will provide some example queries.

This issue was moved from: https://github.com/folio-org/mod-ldp/issues/18

 

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Development Team

Thor

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 11, 2021 at 3:21 PM
Updated December 2, 2021 at 2:39 PM
Resolved December 2, 2021 at 2:39 PM
TestRail: Cases
TestRail: Runs

Flag notifications