opencx icon indicating copy to clipboard operation
opencx copied to clipboard

Create set of tests for new DB API

Open Rjected opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. Now that the database is refactored into something more logical, it would be useful to create a set of tests for the following APIs:

  • SettlementEngine
  • AuctionEngine
  • LimitEngine
  • AuctionOrderbook
  • LimitOrderbook
  • PuzzleStore
  • DepositStore

Describe the solution you'd like Each of the APIs are fairly descriptive, so creating tests for the API can serve as a test for all future datastore implementations. Creating inputs / outputs for each call is probably enough, given many of them are designed to have inputs as well as outputs.

Describe alternatives you've considered The database implementations could also be tested individually, but this would probably be the same amount of work, except more useful.

Additional context N/A

Rjected avatar Jun 21 '19 03:06 Rjected