File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
internal/awstesting/integration/smoke/secretsmanager Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ // +build integration
2+
3+ //Package secretsmanager provides gucumber integration tests support.
4+ package secretsmanager
5+
6+ import (
7+ "github.com/aws/aws-sdk-go-v2/internal/awstesting/integration"
8+ _ "github.com/aws/aws-sdk-go-v2/internal/awstesting/integration/smoke"
9+ "github.com/aws/aws-sdk-go-v2/service/secretsmanager"
10+ "github.com/gucumber/gucumber"
11+ )
12+
13+ func init () {
14+ gucumber .Before ("@secretsmanager" , func () {
15+ gucumber .World ["client" ] = secretsmanager .New (integration .Config ())
16+ })
17+ }
Original file line number Diff line number Diff line change 1+ # language: en
2+ @smoke @secretsmanager
3+ Feature : Amazon SecretsManager
4+
5+ Scenario : Making a request
6+ When I call the "ListSecrets" API
7+ Then the request should be successful
8+
9+ Scenario : Handling errors
10+ When I attempt to call the "DescribeSecret" API with:
11+ | SecretId | fake -secret -id |
12+ Then I expect the response error code to be "ResourceNotFoundException"
13+
You can’t perform that action at this time.
0 commit comments