Skip to content

Package Test

Palamecia edited this page Dec 4, 2022 · 5 revisions

Description

The Test package provides classes allowing the implementation of unit tests. The main classes are Test.Suite which schedule implemented tests and Test.Case which is a base class for implementing a new set of tests.

A test project is composed of a set of tests cases and an entry-point that schedule the tests.

Example:

load test.suite
load mint.lang
load my-test
load my-other-test

if isMain() {
    Test.Suite.instance().run()
}

Classes

Clone this wiki locally