when you guys are testing/developing a tap locally, are you working out of your meltano virtual environment or a tap-specific one?
👀 1
a
aaron_phethean
01/31/2024, 4:39 PM
I tend to create a venv (actually a pyenv) and do the development in tap repo. Actually a little bit different depending on the tap, I like the older taps that create the venv in the Makefile and run tests (newer ones use poetry). After that stage, I tend to spin up a meltano project and test end to end there.
m
Matt Menzenski
01/31/2024, 5:25 PM
I mostly test tap behavior with
meltano invoke
,
meltano run tap-my-new-tap target-jsonl
, and
poetry run pytest
💪 1
a
Andy Carter
01/31/2024, 8:05 PM
@Ian OLeary I have normally created a separate repo with my tap, so I test in the repo in isoltation with its tap-specific poetry venv. The cookiecutter approach gives you a run config for vscode which is super helpful for this approach.