Skip to content

unittest

Vaughan Kitchen edited this page Dec 13, 2016 · 1 revision

About

Each class within JASS should contain a unit test method with the signature

static void unittest(void)

Each of these methods is tied together into a single program that performs all the unit test and reports on success as each passes. Note that this program is likely to crash, assert, or throw and exception if a unit test fails. This program is included simply as a development tool for regression tests.

Usage

unittest

Clone this wiki locally