envoyproxy / envoyproxy/envoy-mobile

testing: introduce test only extensions

Open
#1,610 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
566
Forks
85
PR merge metrics
No merged PRs in 30d

Description

As it is now, there are filters in the repo that are supposed to be used in tests only ([example](https://github.com/envoyproxy/envoy-mobile/blob/main/library/common/extensions/filters/http/test_accessor/filter.h)) but are compiled as any other production extensions.

Add a way for us to define test Envoy extensions for objects that are supposed to be used in tests only.

Test extensions should:
* not be built into the core library
* live in a separate directory
* would be registered separately from "normal" extensions

See this [GH comment](https://github.com/envoyproxy/envoy-mobile/pull/1602#discussion_r673481022) for more context.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.