[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] RSpec-1.0.3

David Chelimsky

5/25/2007 8:49:00 PM

The RSpec Development Team is pleased to announce the release of RSpec-1.0.3.

== Changes

This is the compatibility release!

* Compatible with autotest!!!! (As of ZenTest 3.6.0 - see below)
* Compatible with edge rails (as of r6825).
* Compatible with jruby (since release 1.0.1)

See http://rspec.rubyforge.org/ch... for more detail.

== About RSpec

RSpec is a framework which provides programmers with a Domain Specific
Language to describe the behaviour of Ruby code with readable,
executable examples that guide you in the design process and serve
well as both documentation and tests.

== Autotest compatibility

ZenTest-3.6.0 boasts a new autodiscovery and plugin model that other
frameworks can register with and plug into. RSpec-1.0.3 ships with the
necessary plugin code, so all you need to do is download and go:

For Rails apps:

gem install ZenTest --version '>= 3.6.0'
rails myproject
cd myproject
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
script/generate rspec
autotest

... and off you go

For a non-rails app, you'll need to follow the convention of parallel
lib and spec directories. For example:

gem install ZenTest --version '>= 3.6.0'
gem install rspec --version '>= 1.0.3'
mkdir stuff
cd stuff
mkdir lib
mkdir spec
autotest

Enjoy!

1 Answer

barjunk

5/25/2007 10:49:00 PM

0

On May 25, 12:49 pm, "David Chelimsky" <dchelim...@gmail.com> wrote:
> The RSpec Development Team is pleased to announce the release of RSpec-1.0.3.
>
> == Changes
>
> This is the compatibility release!
>
> * Compatible with autotest!!!! (As of ZenTest 3.6.0 - see below)
> * Compatible with edge rails (as of r6825).
> * Compatible with jruby (since release 1.0.1)
>
> Seehttp://rspec.rubyforge.org/chang... more detail.
>
> == About RSpec
>
> RSpec is a framework which provides programmers with a Domain Specific
> Language to describe the behaviour of Ruby code with readable,
> executable examples that guide you in the design process and serve
> well as both documentation and tests.
>
> == Autotest compatibility
>
> ZenTest-3.6.0 boasts a new autodiscovery and plugin model that other
> frameworks can register with and plug into. RSpec-1.0.3 ships with the
> necessary plugin code, so all you need to do is download and go:
>
<snip>

Nice!

Mike B.