higress-group/higress

e2e: add testcases for the ext-auth wasmplugin

Aberta

#1.799 aberto em 22 de fev. de 2025

 (0 comentário) (0 reação) (0 responsável)Go (1.219 forks)github user discovery
area/e2ehelp wantedsig/wasm

Métricas do repositório

Stars
 (9.036 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 9h) (18 fundiu PRs em 30d)

Description

Why do you need it?

Currently, as the functionality of ext-auth is becoming increasingly complex and there are quite a number of users, it would be ideal to introduce e2e testing to assist with regression and testing.

How could it be?

There are a relatively large number of test cases in this area. You can refer to the historical code changes, which generally include combinations of the following scenarios:

  • Using the two endpoint_modes of envoy and forward_auth.
  • Successful authentication and failed authentication.
  • Blacklist and whitelist configurations.

Other related information

https://github.com/alibaba/higress/tree/main/plugins/wasm-go/extensions/ext-auth

Guia do colaborador