<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Grails build-test-data Plugin Released!</title>
	<atom:link href="http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/</link>
	<description>Groovy, Grails and OS X tips and tricks</description>
	<lastBuildDate>Thu, 17 May 2012 00:35:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: sn</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-3201</link>
		<dc:creator>sn</dc:creator>
		<pubDate>Sat, 31 Dec 2011 15:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-3201</guid>
		<description>Its a great plugin, but if you can provide some way so that build method can be used in unit tests as well, that would be Awsome.. may be you can provide a mock method that will add the method.</description>
		<content:encoded><![CDATA[<p>Its a great plugin, but if you can provide some way so that build method can be used in unit tests as well, that would be Awsome.. may be you can provide a mock method that will add the method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bsr</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2657</link>
		<dc:creator>bsr</dc:creator>
		<pubDate>Wed, 28 Apr 2010 01:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2657</guid>
		<description>I came to this plugin during a custom implementation for loading seed data. Someone recommended fixtures, then I saw your comments by comparing them. Your tutorial is excellent (which was I turned away from fixtures), and thanks for the great work.. I wonder is it easy to extend (or already possible) to persist the data for initialization purpose. Currently I add the data in xml, and parse and load it part of the application.</description>
		<content:encoded><![CDATA[<p>I came to this plugin during a custom implementation for loading seed data. Someone recommended fixtures, then I saw your comments by comparing them. Your tutorial is excellent (which was I turned away from fixtures), and thanks for the great work.. I wonder is it easy to extend (or already possible) to persist the data for initialization purpose. Currently I add the data in xml, and parse and load it part of the application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2617</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Wed, 07 Apr 2010 18:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2617</guid>
		<description>@Mick - I don&#039;t think build-test-data will be able to take care of things for you.  I&#039;d probably just make an &lt;a href=&quot;http://martinfowler.com/bliki/ObjectMother.html&quot; rel=&quot;nofollow&quot;&gt;ObjectMother&lt;/a&gt; class that you can pass a map of parameters to in order to override particular methods.  Otherwise it hands back canned objects.</description>
		<content:encoded><![CDATA[<p>@Mick &#8211; I don&#8217;t think build-test-data will be able to take care of things for you.  I&#8217;d probably just make an <a href="http://martinfowler.com/bliki/ObjectMother.html" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/martinfowler.com/bliki/ObjectMother.html?referer=');">ObjectMother</a> class that you can pass a map of parameters to in order to override particular methods.  Otherwise it hands back canned objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mick Knutson</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2616</link>
		<dc:creator>Mick Knutson</dc:creator>
		<pubDate>Wed, 07 Apr 2010 18:12:47 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2616</guid>
		<description>@tednaleid I basically have Value Objects that I want to centralize the creation of my Webservice request and response objects as I have sooooo many to create:

testDataConfig {
    routingLookupServiceClientRequest {
        &#039;com.comcast.ivr.das.domain.transfer.xsd.Transfer&#039;{
           //accountId= &quot;&quot;
           ani = 6107321523 //
           applicationName = &quot;UIVR&quot;
           callDuration = &quot;callDuration&quot;
           callEndReason = &quot;CAE&quot;
           callFunction = &quot;Pre_Main_Menu&quot;
           callType = &quot;DTMF&quot;
           dtaDct = &quot;TRANSREASON=CAE,FUNCTION=Pre_Main_Menu,UCI=NOUCIDFOUND&quot;
           language = &quot;English&quot;
           verifiedPhoneNumber = 6107321523
           //verifiedPhoneNumber = &quot;0000000000&quot;
        }
    }
}

There is no GORM in the groovy pojos I am creating.</description>
		<content:encoded><![CDATA[<p>@tednaleid I basically have Value Objects that I want to centralize the creation of my Webservice request and response objects as I have sooooo many to create:</p>
<p>testDataConfig {<br />
    routingLookupServiceClientRequest {<br />
        &#8216;com.comcast.ivr.das.domain.transfer.xsd.Transfer&#8217;{<br />
           //accountId= &#8220;&#8221;<br />
           ani = 6107321523 //<br />
           applicationName = &#8220;UIVR&#8221;<br />
           callDuration = &#8220;callDuration&#8221;<br />
           callEndReason = &#8220;CAE&#8221;<br />
           callFunction = &#8220;Pre_Main_Menu&#8221;<br />
           callType = &#8220;DTMF&#8221;<br />
           dtaDct = &#8220;TRANSREASON=CAE,FUNCTION=Pre_Main_Menu,UCI=NOUCIDFOUND&#8221;<br />
           language = &#8220;English&#8221;<br />
           verifiedPhoneNumber = 6107321523<br />
           //verifiedPhoneNumber = &#8220;0000000000&#8243;<br />
        }<br />
    }<br />
}</p>
<p>There is no GORM in the groovy pojos I am creating.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2615</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Mon, 05 Apr 2010 15:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2615</guid>
		<description>@Mick Knutson - It depends on what you mean.  The build methods are only added to GORM objects.  If those GORM domain objects have transient POJOs on them that are bounded by GORM constraints, then they&#039;ll be instantiated by build-test-data.  It tries to call a default, no argument constructor for things that aren&#039;t domain objects that it doesn&#039;t know how to otherwise create.

If you&#039;re looking to create an entire graph of objects that are strictly POJOs, build-test-data can&#039;t do that.  It uses the GORM constraints and belongsTo/hasMany constructs to understand what&#039;s required and what the object graph looks like.  Without those, it doesn&#039;t know what values are required to instantiate valid objects.</description>
		<content:encoded><![CDATA[<p>@Mick Knutson &#8211; It depends on what you mean.  The build methods are only added to GORM objects.  If those GORM domain objects have transient POJOs on them that are bounded by GORM constraints, then they&#8217;ll be instantiated by build-test-data.  It tries to call a default, no argument constructor for things that aren&#8217;t domain objects that it doesn&#8217;t know how to otherwise create.</p>
<p>If you&#8217;re looking to create an entire graph of objects that are strictly POJOs, build-test-data can&#8217;t do that.  It uses the GORM constraints and belongsTo/hasMany constructs to understand what&#8217;s required and what the object graph looks like.  Without those, it doesn&#8217;t know what values are required to instantiate valid objects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mick Knutson</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2614</link>
		<dc:creator>Mick Knutson</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2614</guid>
		<description>I have several POJO Value Objects that are NOT domain objects in Grails, but I want to use them in testing. Can I still use this plugin to help create this test data?</description>
		<content:encoded><![CDATA[<p>I have several POJO Value Objects that are NOT domain objects in Grails, but I want to use them in testing. Can I still use this plugin to help create this test data?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2568</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Tue, 02 Mar 2010 00:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2568</guid>
		<description>@madhav test cases normally get rolled back after they&#039;re done so the database isn&#039;t polluted with results.  If your tests run successfully, that&#039;s really all that matters :).

If you&#039;re just trying to generate some data to save in your database, you could do it in a &quot;grails console&quot; or even in your BootStrap.groovy file so it&#039;s available when the app is actually running.</description>
		<content:encoded><![CDATA[<p>@madhav test cases normally get rolled back after they&#8217;re done so the database isn&#8217;t polluted with results.  If your tests run successfully, that&#8217;s really all that matters :).</p>
<p>If you&#8217;re just trying to generate some data to save in your database, you could do it in a &#8220;grails console&#8221; or even in your BootStrap.groovy file so it&#8217;s available when the app is actually running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhav</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-2566</link>
		<dc:creator>Madhav</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-2566</guid>
		<description>I installed plugin and created Functional test case. But data is not persisting in data base . I see test results are success and no error being thowing out.

Can anyone help  me whats going on ....</description>
		<content:encoded><![CDATA[<p>I installed plugin and created Functional test case. But data is not persisting in data base . I see test results are success and no error being thowing out.</p>
<p>Can anyone help  me whats going on &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tednaleid</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-1447</link>
		<dc:creator>tednaleid</dc:creator>
		<pubDate>Mon, 15 Jun 2009 17:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-1447</guid>
		<description>Thanks Andrés! I&#039;ll be interested to hear what you think of it.</description>
		<content:encoded><![CDATA[<p>Thanks Andrés! I&#8217;ll be interested to hear what you think of it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrés</title>
		<link>http://naleid.com/blog/2009/04/14/grails-build-test-data-01-plugin-released/comment-page-1/#comment-1446</link>
		<dc:creator>Andrés</dc:creator>
		<pubDate>Mon, 15 Jun 2009 15:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://naleid.com/blog/?p=51#comment-1446</guid>
		<description>Ted thank you for your time on developing the plugin and on answering in such a complete way all of the questions people have had. 

I have been looking for something like this for quite a lot time now because creating all of the object graph for complex apps is quite boring. Im eager to try your plugin and I hope to come back and give you some feedback about my experience =) Thanks again!</description>
		<content:encoded><![CDATA[<p>Ted thank you for your time on developing the plugin and on answering in such a complete way all of the questions people have had. </p>
<p>I have been looking for something like this for quite a lot time now because creating all of the object graph for complex apps is quite boring. Im eager to try your plugin and I hope to come back and give you some feedback about my experience =) Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

