I've looked at it before and frankly it always seemed like much more
work to use than it was worth.  It only works well with relatively
simple constraints and the amount of code required to define new
constraints and population schemes is prohibitive.

The Db population and Production grammar frameworks are both trying to
achieve similar goals: generate some structured data according to a rule
set or constraints.  To be useful we need more consistent and compact
ways to specify these rules and how they are to be consumed.  Where both
frameworks fall down is in the amount of labour required to configure
and maintain them.  Creating classes for various rules seems fine at
first until you end up with a lot of one-offs or rules that have so many
optional parameters that they cannot be described compactly any more.

I think some of this can be alleviated by taking advantage of new syntax
in .Net 2.0 and 3.0 (eg. anonymous delegates and expression trees) but
even better would be using a more powerful DSL or macro language such as
Boo.  I've actually been thinking along these lines for other reasons:
building simulations of agents concurrently interacting in a stateful
environment as a means of provoking state transitions within the system
under test (for integration testing).  In such a scenario there are
rules governing the actions of agents that are somewhat difficult to
specify directly in C# syntax.

I'm not sure what else is out there though...

Jeff.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Andrew Stopford
Sent: Thursday, December 28, 2006 7:34 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: MbUnit Database population framework


Hi,

MbUnit has a basic database population framework included, check out
Peli's orginal post on this

http://64.233.183.104/search?q=cache:bamyXosRk24J:blog.dotnetwiki.org/Co
mmentView,guid,571a1712-faf7-44db-9b68-3e402b026c9f.aspx+Fill+mbunit&hl=
en&gl=uk&ct=clnk&cd=4
Would there be any interest in developing this further or would folks be
happier using other tools for this task?

Andy




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to