Skip to content

Commit

Permalink
refactor:tests: field management scenario tests (#3200)
Browse files Browse the repository at this point in the history
* refactor:tests: field management scenario tests

Signed-off-by: Alex Pana <[email protected]>

* Update tests/e2e/testdata/scenarios/fields/management/README.md

---------

Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana authored Nov 20, 2024
1 parent 65e4746 commit 28b20a1
Show file tree
Hide file tree
Showing 35 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/e2e/testdata/scenarios/fields/management/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This test folder contains scenarios for setting and unsetting a field.

Unsetting a native field (int, bool, string) in the underlying GCP resource that a Config Connector resource manages can be achieved by setting the corresponding field in the Config Connector resource to its 0 value. This means setting an int field to `0`, a bool field to `false`, a string field to `""` (and etc).

The folder structure should follow:

```
tests
└─e2e
└─testdata
└─scenarios
├─fields
│ ├─management
│ │ └─SERVICE_NAME
│ │ └─RESOURCE_NAME
│ │ └─scenario_A
│ └─other_fields_related_scenarios
└─other_top_level_scenarios
```

0 comments on commit 28b20a1

Please sign in to comment.