You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a unit test rule from its implementation function.
@@ -439,6 +439,9 @@ implementation function's name so that it can be printed in test feedback.
439
439
The optional `attrs` argument can be used to define dependencies for this
440
440
test, in order to form unit tests of rules.
441
441
442
+
The optional `toolchains` argument can be used to define toolchain
443
+
dependencies for this test.
444
+
442
445
An example of a unit test:
443
446
444
447
```
@@ -463,6 +466,7 @@ Recall that names of test rules must end in `_test`.
463
466
| <aid="unittest.make-impl"></a>impl | The implementation function of the unit test. | none |
464
467
| <aid="unittest.make-attrs"></a>attrs | An optional dictionary to supplement the attrs passed to the unit test's <code>rule()</code> constructor. | <code>{}</code> |
465
468
| <aid="unittest.make-doc"></a>doc | A description of the rule that can be extracted by documentation generating tools. | <code>""</code> |
469
+
| <aid="unittest.make-toolchains"></a>toolchains | An optional list to supplement the toolchains passed to the unit test's <code>rule()</code> constructor. | <code>[]</code> |
0 commit comments