Hi, On Tue, 10 Jul 2001 02:55, Gavin Jones wrote: > Is their active development work going on in the Testlet library? not at the moment. I have always intended to get back to it after Ant2 started to look more solid. However I thought that would be sometime like december-january and it is now july so ... not sure when I'll get back to it ;) > Has > there been any though into adding to the TestSuite interface an > informational method such as TestCase[] getTestCases() so the > TestEngines can identify by name the tests that they are running (among > other things) ? It was actually originally in there, then it was taken out, then it was added in , then it was taken out etc ;) The idea I really wanted to explore was the idea "eveything is a TestCase". So a TestSuite is really nothing more that a TestCase that contains other TestCases. This could be extended to allow TestSuites to contain other TestSuites. I also wanted to inter-test dependency tracking. So if test A depends on test B then A will not be run if B fails. This could be extended to work between test suites etc. However what you propose is definetly something useful. If you want to extend it to do what you need then feel free to ;) About the only restriction is that I would like to keep the semantics of the current AbstractTestlet as I have about 300 tests that rely on this ;) > Currently every test is identified by only the name of > the testsuite, not the name the test has. I am considering using this > library for my testing (currently using junit), but this is a hinderance > I could obviously adapt to, but it would involve adding nearly an entire > layer to the library. Just a thought. a good thought ;) Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
