starlarky
starlarky copied to clipboard
Error message on using test vendors out of test scope
Problem or feature statement
We do not load the unittest or asserts backing java modules unless we are in test context
Advised solution
Make a meaningful error message
Testing scenarios
use these imports in non-test script
load("@stdlib//unittest", "unittest")
load("@vendor//asserts", "asserts")