E0025

E0025#

Warning name: test_unqualified_package

Using implicitly imported API in test.

This warning is emitted when a test uses an API that is implicitly imported. Prefer adding an explicit import or qualifying the name to make the dependency clear.

Erroneous example#

// blackbox test (no import, unqualified use)

test {
  inspect(add(1, 2), content="3")
}

Suggestion#

Use a qualified package name in blackbox tests:

// blackbox test with qualified package use

test {
  inspect(@E0025.add(1, 2), content="3")
}