<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: New symfony plugin - sfPropelTestPlugin simplifies unit tests</title>
	<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/</link>
	<description>PHP, Symfony, and Other Web Things</description>
	<pubDate>Wed, 20 Aug 2008 20:41:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: rafal</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-79</link>
		<dc:creator>rafal</dc:creator>
		<pubDate>Sat, 03 Nov 2007 08:43:17 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-79</guid>
		<description>Thanks Gabriel, I overrode teardown method and now it works as supposed :)</description>
		<content:encoded><![CDATA[<p>Thanks Gabriel, I overrode teardown method and now it works as supposed <img src='http://robrosenbaum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Franco</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-78</link>
		<dc:creator>Gabriel Franco</dc:creator>
		<pubDate>Wed, 31 Oct 2007 20:42:47 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-78</guid>
		<description>Hello Ico,

I had the same problem as you, the solution was to override the teardown method to clean the database after every test execution.

Another problem I had also was with the propel-unit.php.

I don't know if this is a real problem, but I just managed to make the plugin work changing the line 34 from:

,SF_ROOT_DIR.'/apps/theApp/lib' // Location myapp application

to

,SF_ROOT_DIR.'/apps/'.SF_APP.'/lib' // Location myapp application

After that the plugin worked really fine.

Nice work Rob.</description>
		<content:encoded><![CDATA[<p>Hello Ico,</p>
<p>I had the same problem as you, the solution was to override the teardown method to clean the database after every test execution.</p>
<p>Another problem I had also was with the propel-unit.php.</p>
<p>I don&#039;t know if this is a real problem, but I just managed to make the plugin work changing the line 34 from:</p>
<p>,SF_ROOT_DIR.&#039;/apps/theApp/lib&#039; // Location myapp application</p>
<p>to</p>
<p>,SF_ROOT_DIR.&#039;/apps/&#039;.SF_APP.&#039;/lib&#039; // Location myapp application</p>
<p>After that the plugin worked really fine.</p>
<p>Nice work Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rafal</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-76</link>
		<dc:creator>rafal</dc:creator>
		<pubDate>Sun, 28 Oct 2007 19:43:55 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-76</guid>
		<description>Hello Rob,

I have similar problem to that mentioned in the previous post. Data should to be cleared before it is inserted on every test but it is not. Only first of test methods works because it is executed on empty database. What is more weird plugin worked before but has stopped recently and I have no idea why. I am interested if more people have similar problem and of course a solution :)

Besides, great work :) Thx</description>
		<content:encoded><![CDATA[<p>Hello Rob,</p>
<p>I have similar problem to that mentioned in the previous post. Data should to be cleared before it is inserted on every test but it is not. Only first of test methods works because it is executed on empty database. What is more weird plugin worked before but has stopped recently and I have no idea why. I am interested if more people have similar problem and of course a solution <img src='http://robrosenbaum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Besides, great work <img src='http://robrosenbaum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ico</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-61</link>
		<dc:creator>ico</dc:creator>
		<pubDate>Mon, 24 Sep 2007 09:21:37 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-61</guid>
		<description>Hello Rob,

Actually your plugin suppose to clear the data insert on every test, it inserts the data OK, but since they are never cleared, the properly constructed schema returned duplicated records and no more than the first test could be executed :)</description>
		<content:encoded><![CDATA[<p>Hello Rob,</p>
<p>Actually your plugin suppose to clear the data insert on every test, it inserts the data OK, but since they are never cleared, the properly constructed schema returned duplicated records and no more than the first test could be executed <img src='http://robrosenbaum.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rpsblog.com &#187; A week of symfony #37 (10-&#38;gt;16 September 2007)</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-58</link>
		<dc:creator>rpsblog.com &#187; A week of symfony #37 (10-&#38;gt;16 September 2007)</dc:creator>
		<pubDate>Sun, 16 Sep 2007 22:53:28 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-58</guid>
		<description>[...] New symfony plugin - sfPropelTestPlugin simplifies unit tests [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] New symfony plugin - sfPropelTestPlugin simplifies unit tests [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: elbouillon</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-56</link>
		<dc:creator>elbouillon</dc:creator>
		<pubDate>Sun, 16 Sep 2007 14:58:26 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-56</guid>
		<description>So GREAT ! Thx</description>
		<content:encoded><![CDATA[<p>So GREAT ! Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-55</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Sun, 16 Sep 2007 11:43:11 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-55</guid>
		<description>this should be bundled with the sfPropelPlugin, not propel itself</description>
		<content:encoded><![CDATA[<p>this should be bundled with the sfPropelPlugin, not propel itself</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NiKo</title>
		<link>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-54</link>
		<dc:creator>NiKo</dc:creator>
		<pubDate>Fri, 14 Sep 2007 02:02:28 +0000</pubDate>
		<guid>http://robrosenbaum.com/php/new-symfony-plugin-sfpropeltestplugin-simplifies-unit-tests/#comment-54</guid>
		<description>Great. Stuff.

Furthermore, I guess this should be bundled with Propel itself.</description>
		<content:encoded><![CDATA[<p>Great. Stuff.</p>
<p>Furthermore, I guess this should be bundled with Propel itself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
