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_nas_access_rule alicloud_nas_access_group alicloud_oos_template #4604
Conversation
@@ -166,3 +176,400 @@ variable "name" { | |||
} | |||
`, name) | |||
} | |||
|
|||
func TestAccAlicloudNasAccessGroup_unit(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单测覆盖率95.5%
@@ -121,3 +132,311 @@ resource "alicloud_nas_access_group" "example" { | |||
} | |||
`, name) | |||
} | |||
|
|||
func TestAccAlicloudNasAccessRule_unit(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单测覆盖率95.6%
@@ -216,3 +226,302 @@ var OosTemplateMap = map[string]string{ | |||
func OosTemplateBasicdependence(name string) string { | |||
return "" | |||
} | |||
|
|||
func TestAccAlicloudOOSStateConfiguration_unit(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单测覆盖率95.0%
…le alicloud_nas_access_group alicloud_oos_template
f056b7b
to
fc0aa6b
Compare
* `type` - (Required, ForceNew, Deprecated in v1.92.0+) Replaced by `access_group_type` after version 1.92.0. | ||
* `access_group_name` - (Required, ForceNew, Available in v1.92.0+) A Name of one Access Group. | ||
* `access_group_type` - (Required, ForceNew, Available in v1.92.0+) A Type of one Access Group. Valid values: `Vpc` and `Classic`. | ||
* `name` - (Optional, ForceNew, Deprecated in v1.92.0+) Replaced by `access_group_name` after version 1.92.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitHub CI报错,所以改成文档与Schema定义对齐
No description provided.