<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Merbist &#187; full stack</title>
	<atom:link href="http://merbist.com/tag/full-stack/feed/" rel="self" type="application/rss+xml" />
	<link>http://merbist.com</link>
	<description>Random thoughts of a software developer</description>
	<lastBuildDate>Tue, 03 Jan 2012 02:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Merb Edge update (Oct 6th 2008)</title>
		<link>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/</link>
		<comments>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 04:50:15 +0000</pubDate>
		<dc:creator>Matt Aimonetti</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[edge]]></category>
		<category><![CDATA[full stack]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://merbist.com/?p=134</guid>
		<description><![CDATA[Mode changes to init.rb, user updating to a newer version or Merb will need to add c&#91;:log_file&#93; = Merb.root / &#34;log&#34; / &#34;development.log&#34; to their init.rb file or config/environments/development.rb for instance. (Newly generated apps are already setup properly) We made some changes to the way Rake files work. Merb-core doesn&#8217;t require the rspec tasks anymore [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Mode changes to init.rb, user updating to a newer version or Merb will need to add

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">c<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:log_file</span><span style="color:#006600; font-weight:bold;">&#93;</span> = Merb.<span style="color:#9900CC;">root</span> <span style="color:#006600; font-weight:bold;">/</span> <span style="color:#996600;">&quot;log&quot;</span> <span style="color:#006600; font-weight:bold;">/</span> <span style="color:#996600;">&quot;development.log&quot;</span></pre></div></div>

<p>to their init.rb file or config/environments/development.rb for instance. (Newly generated apps are already setup properly)</li>
<li>We made some changes to the way Rake files work. Merb-core doesn&#8217;t require the rspec tasks anymore so Test::Unit see annoying rspec tasks. Once again people upgrading to the latest version of Merb need to make a small change and add:

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'spec/rake/spectask'</span></pre></div></div>

<p>to their rake file. Newly generated applications using RSpec already have that line setup.</li>
<li>In the last few days, <a href="http://yehudakatz.com/" target="_blank">Yehuda</a> merged in his branch with the new &#8220;request-testing feature&#8221;. This is a new way of testing your apps. It makes testing a real request going through a controller and being rendered in a view, something quite easy, Merb interegration tests here we go!. <a href="http://gist.github.com/14910" target="_blank">Check here</a> to see a example of what you can now do. Rails + Rspec users might be surprised by this choice, and I&#8217;ve scheduled to interview Yehuda so he can explain why and when you want to use this way of testing your app. (Don&#8217;t miss his talk at <a href="http://merbcamp.com" target="_blank">MerbCamp</a> next week)</li>
<li>Talking about full stack testing, Merb is almost entirely full stack tested. What does that mean? Take a look at <a title="merb-helpers" href="http://github.com/wycats/merb-more/tree/master/merb-helpers" target="_blank">merb-helpers</a> specs in <a title="merb-more" href="http://github.com/wycats/merb-more" target="_blank">merb-more</a>. Form builders are tested through a real app available from spec/fixture/app, the views are rendered in the specs and the results are check to make sure they will work for you in your real application. Avoiding using too many mocks and stubs helped us really test things in the contet of a real app and avoid a great amount of ghost bugs. Specs might run a bit slower but we believe Merb now has better testing suite than before. More coming up about this topic.</li>
<li>Ohh and we released Merb 0.9.8 &#8220;Time Machine&#8221;, last release before 1.0RC1 <img src='http://merbist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://merbist.com/2008/10/06/merb-edge-update-oct-6th-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

