Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testcase: Adds new unit test case for resource alicloud_alb_security_policy alicloud_rds_backup alicloud_ecd_image #4531

Merged
merged 1 commit into from Jan 26, 2022

Conversation

thisnihonglei
Copy link
Contributor

No description provided.

@@ -298,3 +308,395 @@ variable "name" {
data "alicloud_resource_manager_resource_groups" "default" {}
`, name)
}

func TestAccAlicloudALBSecurityPolicy_unit(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

单测95.4%覆盖率

@@ -140,3 +151,307 @@ data "alicloud_ecd_bundles" "default"{

`, name)
}

func TestAccAlicloudECDImage_unit(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

单测95.2%覆盖率

@@ -119,3 +130,268 @@ resource "alicloud_db_database" "default" {
}
`, name)
}

func TestAccAlicloudRdsBackup_unit(t *testing.T) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

单测97.5%覆盖率

@thisnihonglei thisnihonglei force-pushed the albsecuritypolicymock branch 2 times, most recently from 020aa5c to 5be00ad Compare January 26, 2022 03:08
…policy alicloud_rds_backup alicloud_ecd_image
@xiaozhu36 xiaozhu36 merged commit 975ca55 into aliyun:master Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants