when you guys are testing/developing a tap locally...
# singer-tap-development
i
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
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
I mostly test tap behavior with
meltano invoke
,
meltano run tap-my-new-tap target-jsonl
, and
poetry run pytest
💪 1
a
@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.
âž• 2