You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very important piece of the search process and it is not covered by any unit tests. Setting up a test environment for this is quite complex which is way it was put off in the past.
Proposal:
mock out collect btr data function (removes need for btr db setup)
mock out collect colin data function (removes need for colin db setup)
mock out collect lear data function (removes need for lear db setup)
mock out solr connection for reindex prep
mock out token call and bor-api import call
Tests will secure that the records are being parsed correctly from what we expect to receive from the db. There is complex logic involved here so these will be very valuable tests even though the db data collection is mocked
The text was updated successfully, but these errors were encountered:
This is a very important piece of the search process and it is not covered by any unit tests. Setting up a test environment for this is quite complex which is way it was put off in the past.
Proposal:
Tests will secure that the records are being parsed correctly from what we expect to receive from the db. There is complex logic involved here so these will be very valuable tests even though the db data collection is mocked
The text was updated successfully, but these errors were encountered: