Closed pmcollins closed 5 months ago
I find surprising having a python package inside
tests/
, do we have already another directory where it is more appropriate?
Agree. There's already some precedent as opentelemetry-test-utils lives right next door but I'm happy for this to live somewhere else if folks would prefer. And happy to change the name -- it could be called opentelemetry-test
or opentelemetry-tester
to match the other packages in this repo. oteltest
could just be an alias. What do you think?
This belongs in the contrib repo, probably in the util
directory.
This belongs in the contrib repo, probably in the
util
directory.
Perfect -- thank you Diego. Will open a PR there instead.
This is a scenario runner, the details of which are in the README, but basically, you run
oteltest my_dir
and it sets up a scenario defined by each script in the directory. You define the dependencies, the environment variables, and the executable part of the script, andoteltest
will set up the environment, run it, and send the received telemetry back to the script. At that point, you can perform assertions, effectively making it an end to end test.Addresses #3872