CSC/ECE 517 Fall 2009/wiki1b 7 b5: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 12: Line 12:
The tutorial on RubyLearning provides more and larger code samples than the Little Book of Ruby.  It also covers a few more niche topics.  In particular note the "summary" pages, which provide a quick checklist of topics covered in the preceding sections.  Skimming the summary pages will let you quickly decide if there's any new material to learn without having to read the whole thing.  The direct link to the tutorial is [http://rubylearning.com/satishtalim/tutorial.html here].
The tutorial on RubyLearning provides more and larger code samples than the Little Book of Ruby.  It also covers a few more niche topics.  In particular note the "summary" pages, which provide a quick checklist of topics covered in the preceding sections.  Skimming the summary pages will let you quickly decide if there's any new material to learn without having to read the whole thing.  The direct link to the tutorial is [http://rubylearning.com/satishtalim/tutorial.html here].


== Useful Gems ==
== Testing ==


=== [http://cukes.info/ Cucumber] ===
=== [http://cukes.info/ Cucumber] ===
Cucumber allows black box tests to be written in plain English, making test documentation and comprehension much easier.  It also inherently promotes evaluation of the business value of the things you are testing, which is always a good idea.
Cucumber allows black box tests to be written in plain English, making test documentation and comprehension much easier.  It also inherently promotes evaluation of the business value of the things you are testing, which is always a good idea.
=== [http://wtr.rubyforge.org/ Watir] ===
Watir and its sister projects give you hooks into various web browsers for web based black box testing.  Alternatively, [http://celerity.rubyforge.org/ Celerity] allows testing without requiring a browser, which results in faster, platform independent tests.


== Ruby Projects ==
== Ruby Projects ==

Revision as of 06:45, 21 September 2009

Resources for Ruby (other than IDEs)

Language Resources

The Little Book of Ruby

The Little Book of Ruby is an introduction to Ruby that quickly gets you started with Ruby programming. At only 90 pages (.pdf) and using simple, clear language, it's a very quick read. It assumes the reader has prior programming experience, though not necessarily in an object oriented language. All of the code used in the book is also available online.

Ruby QuickRef

Ruby QuickRef is an excellent resource for quickly looking up Ruby syntax. Rather than giving paragraphs of explanation and loads of examples, it simply provides the syntax in a well sectioned and easy to read format. Think of it as a Ruby cheat sheet.

RubyLearning

The tutorial on RubyLearning provides more and larger code samples than the Little Book of Ruby. It also covers a few more niche topics. In particular note the "summary" pages, which provide a quick checklist of topics covered in the preceding sections. Skimming the summary pages will let you quickly decide if there's any new material to learn without having to read the whole thing. The direct link to the tutorial is here.

Testing

Cucumber

Cucumber allows black box tests to be written in plain English, making test documentation and comprehension much easier. It also inherently promotes evaluation of the business value of the things you are testing, which is always a good idea.

Watir

Watir and its sister projects give you hooks into various web browsers for web based black box testing. Alternatively, Celerity allows testing without requiring a browser, which results in faster, platform independent tests.

Ruby Projects

RubyForge

RubyForge is basically SourceForge for only Ruby based projects. Learn about Ruby and Ruby development by seeing actual applications of the language, or contribute your own knowledge to a project.