-
Notifications
You must be signed in to change notification settings - Fork 2
Package Test
Palamecia edited this page Dec 4, 2022
·
5 revisions
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()
}
Language reference
- Introduction
- Variables
- Built-in types
- Arithmetic operations
- Type casting
- Control structures
- Function definition
- User defined types
- Work with modules
Library reference