A golden test to verify attribute default values.

my_rule

This is my rule. It does stuff.

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
aSome boolBooleanoptionalFalse
bSome intIntegeroptional2
cSome int_listList of integersoptional[0, 1]
dSome labelLabeloptional//foo:bar
eSome label_keyed_string_dictDictionary: Label -> Stringoptional{“//foo:bar”: “hello”, “//bar:baz”: “goodbye”}
fSome label_listList of labelsoptional[“//foo:bar”, “//bar:baz”]
gSome stringStringoptional""
hSome string_dictDictionary: String -> Stringoptional{“animal”: “bunny”, “color”: “orange”}
iSome string_listList of stringsoptional[“cat”, “dog”]
jSome string_list_dictDictionary: String -> List of stringsoptional{“animal”: [“cat”, “bunny”], “color”: [“blue”, “orange”]}
kSome boolBooleanrequired
lSome intIntegerrequired
mSome int_listList of integersrequired
nSome labelLabelrequired
oSome label_keyed_string_dictDictionary: Label -> Stringrequired
pSome label_listList of labelsrequired
qSome stringStringrequired
rSome string_dictDictionary: String -> Stringrequired
sSome string_listList of stringsrequired
tSome string_list_dictDictionary: String -> List of stringsrequired
u-Stringoptional""
v-LabeloptionalNone
w-Integeroptional0

my_aspect

This is my aspect. It does stuff.

ASPECT ATTRIBUTES

NameType
depsString
attr_aspectString

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
ysome stringStringoptional“why”
z-Stringrequired