lloyAlloy on GitHub
TestError
Docs

TestError

Updated

The rule behind this error is on the Tests page.

@test
function name() ... end

@test
namespace Suite ... end

A test beside the code it tests. The ship artifact blanks it, line for line; the check artifact keeps it typed; alloy test writes it into a lest spec with everything it reaches. An async test is awaited.

On a namespace, every public function of the group is a test, named Suite.name in the report and called by that path. A private member stays out, and so does a member that binds no function. The mark reaches a public nested namespace too, since the group means every public name in it is a test. A member that carries its own @test runs once.

Applies to function · namespace