Use `assetHelper.withCleaner` Within `ApiGwCliBasicTests.scala` Tests
Open
- Dominant language
- Go
- Stars
- 109
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
The tests within `incubator-openwhisk-cli/tests/src/test/scala/whisk/core/cli/testApiGwCliBasicTests.scala` tend to not use the `assetHelper` for several action/api tests. Instead, the action and/or api is cleaned up explicitly in each test's `finally` block via `action.delete`. This should be improved to use the `assetHelper` for more concise test code.
The other tests within this repo tend to use this `assetHelper` appropriately, but they all could use a look to make sure the usage is aligned.
Contributor guide
Assessment
This issue has not been assessed yet.