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_oos_state_configuration alicloud_oos_service_setting alicloud_oos_secret_parameter #4601

Merged
merged 1 commit into from Feb 24, 2022

Conversation

thisnihonglei
Copy link
Contributor

No description provided.

…figuration alicloud_oos_service_setting alicloud_oos_secret_parameter
@@ -300,3 +310,300 @@ locals {
data "alicloud_resource_manager_resource_groups" "default" {}
`, name)
}

func TestAccAlicloudOOSSecretParameter_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.

单测96.7%覆盖率

@@ -145,3 +158,248 @@ resource "alicloud_log_project" "default" {
}
`, name)
}

func TestAccAlicloudOOSServiceSetting_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.

单测91.3%覆盖率,剩余代码无法覆盖

@@ -326,3 +336,310 @@ variable "name" {
data "alicloud_resource_manager_resource_groups" "default" {}
`, name)
}

func TestAccAlicloudOOSStateConfiguration_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%覆盖率

@xiaozhu36 xiaozhu36 merged commit 32f74e1 into aliyun:master Feb 24, 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