How are you setting options? By passing parameters to a new or init method, by calling specific setters on the object, some other fashion?
In any case I'd be inclined to build a table with a list of option and value pairs for each object class. You can then use the table entries to drive generating and configuring object instances as well as validating the result. We really need to see something more of the way the API for your objects is put together though to be able to sketch some practical code.
In reply to Re: Testing and combinations
by GrandFather
in thread Testing and combinations
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |