sys::Obj xfant::TestSuite : xfant::Xtest
Creates a group of test from a
The type must be a
- Cannot be abstract.
- Each method that starts with "test" that not is abstract is added to list variable
If the type has a facet
@Ignore the test cases are not created and
tests variable is an empty list.
virtual override Str classname()
Qualified classname to wich this tests belongs.
Find all methods in a type that starts with
testand are non abstract
Creates a test for a pod. Take all classes in the pod that are subclasses of
Test#, non abstract and creates a testcase for each of them.
pod::typeand returns a
TestSuitewith all the test cases extracted from the type. if
patterndoes not match and checked is
ArgErrerror, else returns null.
new make(Type type)
typeadding all the test methods. See
virtual override Str name()
The name of this test is the type's classname.
const Xtest tests
Group of tests to execute.
const Type type
Type with the tests