stellar-etl icon indicating copy to clipboard operation
stellar-etl copied to clipboard

investigate and fix cmd unit tests

Open acharb opened this issue 3 years ago • 1 comments

some of the unit tests in cmd are failing, but I'm not sure if it's code we are still using. eg. TestExportChanges/changes_from_single_ledger using export_ledger_entry_changes (are we using this command anywhere?). Investigate if these command are something we still need and if so fix.

Once the cmd unit testing works we can add to the github workflow for automated testing (pr for reference)

acharb avatar Aug 16 '21 22:08 acharb

Fixed the export_transactions and export_operations tests. The other broken tests require a working captive core, which i'm still working on.

sydneynotthecity avatar Sep 01 '21 16:09 sydneynotthecity

@amishas157 we can close this ticket, correct? I believe https://github.com/stellar/stellar-etl/pull/274 resolved

sydneynotthecity avatar Aug 15 '24 22:08 sydneynotthecity

Yes., the docs for running tests are available in https://github.com/stellar/stellar-etl?tab=readme-ov-file#running-tests

amishas157 avatar Aug 16 '24 16:08 amishas157