juspay/hyperswitch

feat(db): Implement interfaces for `MockDb`

Open

#172 opened on Dec 19, 2022

View on GitHub
 (8 comments) (2 reactions) (0 assignees)Rust (42,690 stars) (4,676 forks)batch import
A-frameworkC-featureC-tracking-issueE-mediumP-mediumhelp wanted

Description

Description

This issue's primary focus lies in implementing the pending interface functionality for MockDb. The purpose of this change is to have a simple and effective mechanism for testing without connecting to any outside entity for the storage need. The MockDb will come in play for unit tests, integration tests, etc.

Interfaces to implement

  • #954
  • #996
  • #1189
  • #997
  • Implement ConnectorResponseInterface for MockDb (partially complete)
  • Implement CustomerInterface for MockDb (partially complete)
  • #1190
  • #1191
  • #1116
  • #1257
  • #1256
  • #2438
  • #1123
  • #1329
  • Implement PaymentIntentInterface for MockDb (partially complete)
  • #1491
  • #4150
  • Implement ProcessTrackerInterface for MockDb (partially complete)
  • #1490
  • #1276
  • #1115
  • #1697
  • #2039
  • Implement BatchSampleDataInterface for MockDb
  • https://github.com/juspay/hyperswitch/issues/3044
  • Implement GenericLink for MockDb.

If you're interested in picking up any item from the list, please let us know. We'll spin out an issue and assign it to you.

Contributor guide

feat(db): Implement interfaces for `MockDb` · juspay/hyperswitch#172 | Good First Issue