[ANN] spec_wire 0.3.1 with PHP support.

1 view
Skip to first unread message

Ed Howland

unread,
Dec 24, 2009, 5:59:52 PM12/24/09
to spec...@googlegroups.com
SpecWire is a gem for writing specs in RSpec using Ruby and making
them pass in another language, like PHP, Python, C# etc. You don't
have to write any other code besides the ruby specs and the target
language code to make them pass. Thus you can maintain a natural
workflow for Red-Green-Refactor. You don't have to learn another
language's Spec or Test framework.

Version 0.3.1 adds full PHP support. Other languages are forthcoming.

To install: git clone git://github.com/edhowland/spec_wire.git

At this point, all spec_wire specs pass with both the Ruby and PHP
server. The PHP server uses the session store to hold objects between
requests. It also requires the field '_method=PUT' over the natural
PUT verb. Changes were made to the REST client to support the session
cookie and this new field. They can be configured via tjhe
environment.rb file.

Build the gem, install it locally and test using your own code.

Cheers,
Ed

--
Ed Howland
http://greenprogrammer.wordpress.com
http://twitter.com/ed_howland

Reply all
Reply to author
Forward
0 new messages