classxfant::Xfant
sys::Obj xfant::Xfant
Prepare the test cases and execute them, finally reports the results in Xml.
- add
Add a target to test.
- addAll
Add a list of targets to test.
- addTest
Add a test to execute
- addTestFromSlot
This addTestFromSlot(Slot slot)Add a test from a method/slot.
- addTestFromStr
This addTestFromStr(Str pattern)Match a
patternwith a slot, type or pod.The
Slotpattern is in the form ofpod::type.slot. TheTypepattern ispod::type. ThePodpattern ispod- addTestFromType
This addTestFromType(Type type)Add a test from a type.
- addTestsFromPod
Add all test from a pod. For each class in the pod a new test is added.
- hasTests
Bool hasTests()There are tests cases?
- make
new make(|This f)Constructor
- report
Write a report of the results in
outstream- results
XTestResult[] results := XTestResult[,]Test results collected
- run
Void run()Run the test cases and saves the results
- runner
TestRunner runner := TestRunner.<ctor>()Test runner
- tests
Xtest[] tests := Xtest[,]Test cases to execute