summaryrefslogtreecommitdiff
path: root/_posts/2011-03-30-blogrite-002-where-to-even-start.html
blob: 793935b18cfd18a28b97b312828ab79387d6c5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: post
title: Blogrite 002 – Where to even start
tags:
- Development
- Personal improvement
- ruby
- screencast
status: publish
type: post
published: true
meta:
  _edit_last: '1'
  _wp_old_slug: ''
---
It's the first time I am writing any tests at all, I'm dead serious. Please bear with me, I'd appreciate your help in guiding towards the magic of TDD. Thanks guys.
<h3>What I noticed already</h3>
<ul>
	<li>I chose Minitest after Rspec because it's leaner, which is what I want for now.</li>
	<li>Requiring 'minitest/autorun' will run my tests automatically.</li>
	<li>The class to inherit from is Minitest::Unit::TestCase, not from the Test module.</li>
</ul>
I'm still missing stuff like how to require and autoload right. I'm pretty sure is wrong with that.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="466" height="291" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=21714980&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff9933&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed type="application/x-shockwave-flash" width="466" height="291" src="http://vimeo.com/moogaloop.swf?clip_id=21714980&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff9933&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" allowscriptaccess="always" allowfullscreen="true"></embed></object>