meir.shamay
09/03/2020, 9:55 AMdouwe_maan
09/03/2020, 4:07 PMmeir.shamay
09/06/2020, 10:36 AMimport tap_tester.connections as connections
import tap_tester.menagerie as menagerie
import tap_tester.runner as runner
`meir.shamay
09/06/2020, 10:36 AMtap_testermeir.shamay
09/07/2020, 1:12 PMdouwe_maan
09/07/2020, 3:01 PMtap_tester. This came up on the Singer Slack workspace recently as well: https://singer-io.slack.com/archives/C2TGFCZEV/p1599077499069400, https://singer-io.slack.com/archives/C016CTU1ESZ/p1599076357005100meir.shamay
09/08/2020, 8:05 AMdouwe_maan
09/08/2020, 3:24 PMmeir.shamay
09/08/2020, 3:35 PMdouwe_maan
09/08/2020, 3:57 PMdo_discover, do_sync), and you could mock the API requests using methods like those discussed here: https://realpython.com/testing-third-party-apis-with-mocks/
You wouldn't need to test the tap-foo executable directly, since you'd be testing the implementation of your executable's main function.meir.shamay
09/08/2020, 3:58 PMdouwe_maan
09/08/2020, 4:02 PM