70
95.9
Feb 20, 2011
Hi there
I know that the NUnit test framework uses the Composite Pattern.
Good luck with the framework :-)
Hans-Petter Eitvet
370
99.9
Mar 03, 2011
Hi,
maybe a bit off topic but why do you want to write your own TA framework? There are tools which handle this for you, for example VS 2010 has its tests which can be then, after compiling, ran by MSTest command line utility. Or there are others, like QTP, Quality Center and so on.
Developing your own framework would be reasonable when you have your custom APIs for UI / SDK automation, as in my case. We developed our own tool, because the product has it's own UI API. This tool can handle multiple formats and is extensible via plugins (e.g. MEF would do the job here).
You also have to think about how to parametrize tests, how to log and store results, how to play scripts back etc.
Robert