<?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>Meta Bates &#187; rcov</title>
	<atom:link href="http://www.metabates.com/tag/rcov/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metabates.com</link>
	<description>The technical ramblings of Mark Bates.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>CoverMe – Code Coverage for Ruby 1.9 Reaches RC1</title>
		<link>http://www.metabates.com/2010/09/30/coverme-%e2%80%93-code-coverage-for-ruby-1-9-reaches-rc1/</link>
		<comments>http://www.metabates.com/2010/09/30/coverme-%e2%80%93-code-coverage-for-ruby-1-9-reaches-rc1/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 16:09:25 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[cover_me]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rcov]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=363</guid>
		<description><![CDATA[In August I announced CoverMe a code coverage tool for Ruby 1.9. Well, today I announce that it has hit it&#8217;s first release candidate! I&#8217;ve very excited by the fact it&#8217;s getting close to an &#8216;official&#8217; release. The response to CoverMe has been great and through feedback from the community I&#8217;ve made a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/">August</a> I announced <a href="http://github.com/markbates/cover_me" target="_blank">CoverMe</a> a code coverage tool for Ruby 1.9. Well, today I announce that it has hit it&#8217;s first release candidate! I&#8217;ve very excited by the fact it&#8217;s getting close to an &#8216;official&#8217; release.</p>
<p>The response to CoverMe has been great and through feedback from the community I&#8217;ve made a lot of improvements and fixed a lot of issues.</p>
<p>While quite a few things have changed under the hood, not much has changed in how you use CoverMe.</p>
<h2>Installation</h2>
<p>The following are instructions for how you would configure CoverMe for a Rails 3 project, adjust to your local environment accordingly.</p>
<p>In  your Gemfile add the following:</p>
<pre>gem 'cover_me', '&gt;= 1.0.0.rc1', :group =&gt; :test</pre>
<p>Then run:</p>
<pre>$ bundle install</pre>
<p>After CoverMe is installed place the following line at the <strong><em>VERY TOP</em></strong> of your &#8216;test_helper.rb&#8217; or &#8216;spec_helper.rb&#8217; file (for Cucumber put it at the top of the &#8216;env.rb&#8217; file):</p>
<pre>require 'cover_me'</pre>
<p>I can&#8217;t emphasize enough how important it is that the require statement is at the <strong><em>VERY</em></strong> top of that file!</p>
<p>Finally (and optionally) run:</p>
<pre>$ rails g cover_me:install</pre>
<p>This will simply install a Rake task that will wrap both Test::Unit and RSpec tasks with CoverMe and will launch the results at the end of the test suites. I would recommend it. It&#8217;s kinda the whole point. <img src='http://www.metabates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>That&#8217;s it!</h2>
<p>Enjoy the release candidate, and of course, please let me know if you find any issues with it. Issues can be reported on <a href="http://github.com/markbates/cover_me/issues" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2010/09/30/coverme-%e2%80%93-code-coverage-for-ruby-1-9-reaches-rc1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CoverMe &#8211; Code Coverage for Ruby 1.9</title>
		<link>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/</link>
		<comments>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 17:49:44 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rcov]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=343</guid>
		<description><![CDATA[Ruby 1.9(.2) is an amazing language to develop applications in. It&#8217;s faster, more powerful, cleaner, and a huge improvement over Ruby 1.8.x. Because of those reasons every Ruby developer should move to this exciting new version of our language. When making a move of this size it&#8217;s important to have the right tools to help [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby 1.9(.2) is an amazing language to develop applications in. It&#8217;s faster, more powerful, cleaner, and a huge improvement over Ruby 1.8.x. Because of those reasons every Ruby developer should move to this exciting new version of our language.</p>
<div id="_mcePaste">When making a move of this size it&#8217;s important to have the right tools to help us along. Unfortunately, one of the most useful tools as a Ruby developer, <a href="http://github.com/relevance/rcov">RCov</a>, does not work with Ruby 1.9.</div>
<div id="_mcePaste">RCov, for those unfamiliar analyzes your code and tells you which part of your code was not executed. This is INCREDIBLY useful when hooked up to your test suite. While, it&#8217;s not the only metric you should use when determining how good your test coverage it, it certainly is a great first step to point out exactly which parts of your code haven&#8217;t been touched at all!</div>
<p>Enter <a href="http://github.com/markbates/cover_me">CoverMe</a>.</p>
<h2>History</h2>
<p>While working on a Ruby 1.9/Rails 3 project, and loving everything about it (except for the lack of RCov), I came across a <a href="http://engineering.attinteractive.com/2010/08/code-coverage-in-ruby-1-9/">post</a> by Aaron Patterson (of <a href="http://github.com/tenderlove/nokogiri">Nokogiri</a> fame). In this post he quickly outlined a very basic coverage tool using the new built-in Coverage module in Ruby 1.9.</p>
<p>After spending a morning playing with it, I was quickly able to grow the idea into something useful for the project. Later that day the company I was consulting for (<a href="http://www.biddingforgood.com">BiddingForGood.com</a>), and in particular their chief architect, <a href="http://twitter.com/stuartmg">Stuart Garner</a>, told me to take a day or two and clean it up and release it for the world to use, and so <a href="http://github.com/markbates/cover_me">here</a> it is.</p>
<h2>Features</h2>
<p>Here is a brief overview of the features of CoverMe:</p>
<h3>Index Page</h3>
<ul>
<li>Sortable column headers (File, Lines, Lines of Code, Tested %).</li>
<li>Searching/filtering by file name.</li>
<li>Filtering by coverage percent.</li>
<li>Color coded list of files to quickly see which ones are 100% covered, &gt; 90% covered, or less than 90% covered.</li>
<li>Large color coded average coverage percent, for quick reference.</li>
</ul>
<h3>Detail Page</h3>
<ul>
<li>Line by line coverage report</li>
<li>Color coded lines to quickly see which lines where executed and which ones were not.</li>
<li>Side by side viewing with the corresponding test/spec file (if one exists).</li>
</ul>
<p>See the <a href="http://github.com/markbates/cover_me">README</a> file for more information on installation and usage.</p>
<h2>Thanks</h2>
<p>I would just quickly like to give another quick thanks to Aaron Patterson for pointing out the Coverage module in Ruby 1.9 and inspiring this, hopefully, helpful little gem. Also another big thanks to Stuart Garner for pushing me to package this up and release it to the world.</p>
<h2>Screenshots</h2>

<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/detail_side_by_side/' title='detail_side_by_side'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/detail_side_by_side-150x150.png" class="attachment-thumbnail" alt="detail_side_by_side" title="detail_side_by_side" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/detail/' title='detail'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/detail-150x150.png" class="attachment-thumbnail" alt="detail" title="detail" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index_filter/' title='index_filter'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index_filter-150x150.png" class="attachment-thumbnail" alt="index_filter" title="index_filter" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index_search/' title='index_search'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index_search-150x150.png" class="attachment-thumbnail" alt="index_search" title="index_search" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index/' title='index'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index-150x150.png" class="attachment-thumbnail" alt="index" title="index" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Release 0.5.0</title>
		<link>http://www.metabates.com/2008/05/06/release-050/</link>
		<comments>http://www.metabates.com/2008/05/06/release-050/#comments</comments>
		<pubDate>Tue, 06 May 2008 18:33:47 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[darsono sutedja]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[erb]]></category>
		<category><![CDATA[erub]]></category>
		<category><![CDATA[genosaurus]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[rcov]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=91</guid>
		<description><![CDATA[I know I&#8217;ve been talking about this release for a while now, and here it finally is. There&#8217;s some good bug fixes in here, a few new rake tasks, and some other little things like that. The biggest thing, however, is what&#8217;s been causing a stir online now for the past few days, I&#8217;ve split [...]]]></description>
			<content:encoded><![CDATA[<p>I know I&#8217;ve been talking about this release for a while now, and here it finally is. There&#8217;s some good bug fixes in here, a few new rake tasks, and some other little things like that.</p>
<p>The biggest thing, however, is what&#8217;s been causing a stir online now for the past few days, I&#8217;ve split out the ORM support into separate gems. I&#8217;m not going to go over it again, you can find all the details here:Â <a href="http://www.mackframework.com/2008/05/04/orms-and-mack/" target="_blank">http://www.mackframework.com/2008/05/04/orms-and-mack/</a></p>
<p>Needless to say this is a good release to get, if not for the bug fixes alone, but for the great db:create rake tasks that are now in there. Thanks, again, to Darsono Sutedja for his great contributions.</p>
<p>Changelog</p>
<ul>
<li>Added rake db:create and db:create:all rake tasks.</li>
<li>Refactored out constants, such as MACK_ROOT and MACK_ENV and made them into Mack::Configuration.env, Mack::Configuration.root, etc&#8230;</li>
<li>Added test:stats and test:coverage Rake tasks.</li>
<li>Removed support for ActiveRecord and DataMapper and moved them into their own gems.</li>
<li>Fixed a bug where yields in ERB weren&#8217;t giving the desired results.</li>
<li>DataMapper database.yml file can now be nested, and is generated as such.</li>
<li>Cleaned up some tests, and refactored the HTML generation stuff.</li>
<li>Fixed a bug with the scaffold generating &#8216;bad&#8217; methods instead of &#8216;post&#8217;</li>
<li>Made error_messages_for more compatible with DataMapper.</li>
<li>Fixed a bug loading url.rb and uploaded_file.rb found by Phil Darnowsky</li>
<li>[dsutedja] Render method (in controller_base) now accepts response status code.</li>
<li>gem: mack_ruby_core_extensions 0.1.23</li>
<li>gem: genosaurus 1.1.4</li>
<li>gem: datamapper 0.3.2</li>
<li>gem: rcov 0.8.1.2.0</li>
<li>gem: mack-data_mapper 0.5.0</li>
<li>gem: erubis 2.6.0</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/05/06/release-050/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.504 seconds -->

