Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
import testing_base
import html
+private import parse_annotations
private import annotation
private import realtime
# Run NitUnit test suite for `mmodule` (if it is one).
fun test_unit(mmodule: MModule): nullable HTMLTag do
# is the module a test_suite?
- if get_mmodule_annotation("test_suite", mmodule) == null then return null
+ if not mmodule.is_test then return null
toolcontext.info("nitunit: test-suite {mmodule}", 2)
var tester = new NitUnitTester(self)