scraperint
is a wrapper around testcontainers and the golang testing api for use with receivers only (at least, today). See docs inscraperinttest
for information on usage.- Add the
integration
build constraint for longer-running, comprehensive tests. These will be run via github actions when submitting a PR.
This project uses golang build-constraints to tag build targets. Guidance on using existing targets
e2e
should be used for end-to-end tests. These are currently manually configured to be run in.github/workflows
on a per-component basis.integration
should be used for integration tests (able to be run on local hardware but not require any credentials or environmental infrastructure). You can run this withmake integration-test
orcd componentclass/yourcomponent && make mod-integration-test
- Restrict builds for varying platforms or processor architectures with their relevant platform names. See documentation on
GOOS
andGOOARCH
for how these are set. - Add other build tags as needed, such as has been done for
tools
andrace
. Please document any needed commands here and ensure to get consensus with the otel collector working group before introducing build constraints.