aaron
07/06/2021, 6:38 PMHTTP_PROXY
to fake the source APIs, then writing to CSV or a temporary BigQuery dataset. Then we’d assert on the resulting data (not sure what language/framework to use for that). Is there a better approach? Anything built-in to make this easier?aaron
07/06/2021, 7:01 PMaaronsteers
07/06/2021, 7:31 PMaaronsteers
07/06/2021, 7:34 PMaaron
07/06/2021, 8:28 PMaaron
07/06/2021, 10:28 PMmeltano elt
in VCR.py, but maybe the tap is running in a subprocess(?) because VCR.py can’t see all the HTTP requests. The only request captured is to https://www.meltano.com/discovery.yml
@pytest.mark.vcr()
def test_elt():
runner = CliRunner()
result = runner.invoke(cli, ['elt', 'tap-gitlab', 'target-jsonl', '--job_id=gitlab-to-jsonl', '--full-refresh'])
print(result.output)
aaron
07/06/2021, 10:41 PMjulian_knight
07/08/2021, 6:32 PMaaron
09/23/2022, 9:43 PM