Skip to content

test.describe

function

Groups tests under a name. The body runs at once, declares tests, hooks and other groups, and must not yield.

test.describe(name: string, body: () -> ()) -> ()
example
test.describe("Inventory", function() end)

Use it forgrouping all the tests for your inventory module together under one name.

nameWhat the tests inside have in common.
bodyDeclares the tests and hooks of the group. It must not yield.

Tip of the day

From: USBX

HOME Menu

Wii Menu

Wii Remote Settings