Joerg Gellien - 2006-06-11

Hi folks,
in this forum I will try to post new ideas that might become part of DDTUnit. Feel free to comment and add your own ideas on DDTUnit.

Next steps under development and research is the use of a database as object repository.

For better reuse and searchability of big sets of objects I started to setup a database schema containing objects/asserts and the cluster/group/test structures as known from xml resources.

The research started after getting the requirement to provide a mechanism to reuse object definitions from xml. - First shot: No problem just use cloning! .... Well yes, first shot, first miss.

After experimenting with xml splitting (XML entities) I started to think about putting object definitions into a database attribute and collect according to special keys putting it all together like in the known xml resource structure.

What can be the benefit?

  • First I can implement sort of a templating of objects by reusing a base definition of an object over and over again and just add the changing attributes. -- If I would try this on an allready instanciated object the behavior of this object would become unpredictable after a few extensions for special tests.

What do you think is it worth anything?
Talk back!

Best regards
Jörg