forked from infobloxopen/infoblox-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create auto-generated objects.go file (infobloxopen#178)
This branch contains newly added object structures of WAPI with generator code , where object_generated.go is created for applying the changes. For some fields with omitempty, where some cases with updating empty is not considered as update introduced pointers. Added E2E tests for functional validation of objects generated Co-authored-by: Sergey Kudriavtsev <[email protected]> Co-authored-by: hemanthKa677 <[email protected]>
- Loading branch information
1 parent
e439cee
commit 072a0c8
Showing
236 changed files
with
46,868 additions
and
12,131 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# End-to-end tests | ||
|
||
This set of tests is intended for functionality validation on an existing WAPI | ||
instance. | ||
|
||
## How to run E2E tests | ||
|
||
1. Export parameters of accessible and running `WAPI` instance: | ||
```bash | ||
export INFOBLOX_SERVER=<WAPI HOST IP> INFOBLOX_USERNAME=<WAPI USERNAME> INFOBLOX_PASSWORD=<WAPI PASSWORD> WAPI_VERSION=<WAPI VERSION> | ||
``` | ||
|
||
2. You can use `go test` utility to run the tests in the `e2e_tests` directory: | ||
```bash | ||
go test -v ./e2e_tests | ||
``` | ||
|
||
3. Instead of `go test` you can also use the [`ginkgo`](https://onsi.github.io/ginkgo/#installing-ginkgo) utility, | ||
which supports test filtering by label, and lots of [additional features](https://onsi.github.io/ginkgo/#running-specs): | ||
```bash | ||
# Run all e2e tests | ||
ginkgo e2e_tests | ||
# Run only read-only e2e tests | ||
ginkgo --label-filter=RO e2e_tests | ||
``` | ||
|
||
## Warning | ||
|
||
Please don't run those tests on the production WAPI instance. |
Oops, something went wrong.