Stéphane Burwash
04/15/2025, 2:06 PMtest
functions, but I'd like to understand a bit more how they work (source https://sdk.meltano.com/en/latest/testing.html#singer_sdk.testing.get_tap_test_class)
What do the tests actually DO? My goal would be that it only tests that the tap CAN run, and not that it tries to run to completion. Most of my taps are full_table, so running their tests would take WAY too long.
Thanks 😄Edgar Ramírez (Arch.dev)
04/15/2025, 7:18 PMMy goal would be that it only tests that the tap CAN runThe tests do validate that by proxy.
Most of my taps are full_table, so running their tests would take WAY too long.You can pass, for example, the
suite_config=SuiteConfig(*max_records_limit=25*)
argument of get_tap_test_class
to limit the volume of data extracted.
https://sdk.meltano.com/en/latest/testing.html#singer_sdk.testing.SuiteConfig
Do give https://github.com/meltano/sdk/issues/2688 a 👍 or let me know if there's something you'd like the docs to explain specifically.Stéphane Burwash
04/15/2025, 7:30 PM