From 5e9c75324e94d87f1f59bdc5de2b119f065a6df4 Mon Sep 17 00:00:00 2001 From: Marketa Slukova Date: Mon, 23 Sep 2024 17:25:43 +0200 Subject: [PATCH] extend all fileds for `TestCase` --- docs/test-cases.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/test-cases.md b/docs/test-cases.md index ae419cd6..2e37f62f 100644 --- a/docs/test-cases.md +++ b/docs/test-cases.md @@ -20,6 +20,11 @@ TestCase defines each test that will be run sequentially. | wantMatch | bool | If the test case should assert `true` or `false` | | request | [request](#Request) | Crafted requests that will mocked against VirtualServices | | route | [HTTPRouteDestination[]](https://istio.io/docs/reference/config/networking/virtual-service/#HTTPRouteDestination) | Route destinations that will be asserted for each request. | +| redirect | [HTTPRedirect](https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPRedirect) | Any redirect logic to test +| rewrite | [HTTPRewrite](https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPRewrite) | Any rewrite logic to test +| fault | [HTTPFaultInjection](https://istio.io/latest/docs/reference/config/networking/virtual-service/#HTTPFaultInjection) | Add fault injection (delay, abort) to test to test for timeouts, auth, etc. +| headers | [Headers](https://istio.io/latest/docs/reference/config/networking/virtual-service/#Headers) | Test header manipulation rules. These are different from `request.headers`, i.e. headers present in the test request. +| delegate | [Delegate](https://istio.io/latest/docs/reference/config/networking/virtual-service/#Delegate) | Any delegation logic to test ## Request