starlarky icon indicating copy to clipboard operation
starlarky copied to clipboard

Error message on using test vendors out of test scope

Open ozoz03 opened this issue 3 years ago • 0 comments

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")

ozoz03 avatar May 20 '21 14:05 ozoz03