From: King Doug <king.doug@si...> - 2004-07-29 19:22:44
When I have a set of tests with sub-suites and one of the sub-suites has a failure
(see code below), the failure isn't reported in the Test Root node. To see these
failures, you have to manually search the tree of tests, and it's easy to miss
a deeply nested test case failure.
I would like to see the sub-suite failures propagate all the way to the top (i.e.
a test-suite fails if any of its tests or sub-suites fails, and similarly for errors)
(define (add a b) (+ a b))
(require (lib "test.ss" "schemeunit")
(lib "drscheme-ui.ss" "schemeunit"))
"tests for adder.scm"
(assert = 2 (add 1 1)))
"recursive suite with failure"
"recursive failure case"
(assert = 4 (add (add 1 1) 1))))))
king dot doug at siemens dot com
--- King Doug <king.doug@...> wrote:
> I would like to see the sub-suite failures propagate all
> the way to the top (i.e.
> a test-suite fails if any of its tests or sub-suites
> fails, and similarly for errors)
I agree this would be a good improvement. As part of
redeveloping SchemeUnit I hope to fix the GUI and will try
to implement this improvement.
Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!