Skip to content
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

Error message on using test vendors out of test scope #120

Open
ozoz03 opened this issue May 20, 2021 · 0 comments
Open

Error message on using test vendors out of test scope #120

ozoz03 opened this issue May 20, 2021 · 0 comments
Labels
bug Something isn't working enhancement Enhance functionality in Starlarky triaged

Comments

@ozoz03
Copy link
Contributor

ozoz03 commented May 20, 2021

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")
@mahmoudimus mahmoudimus added the bug Something isn't working label Jul 30, 2021
@aslepakurov aslepakurov added enhancement Enhance functionality in Starlarky triaged labels Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Enhance functionality in Starlarky triaged
Projects
None yet
Development

No branches or pull requests

3 participants