Archive for Ruby

Now we’re rocking! DSL story driven development and testing in Java!

At TechnoPhobia, we have an interesting challenge to implement a technology agnostic requirements capture process that (in my mind) will enable us, with very minimal effort, to repurpose these documented requirements into fully automated browser tests. I’m thinking that the process could look something like this:

  1. The project and client team write end-user functional requirements as User Stories and Scenarios
  2. The stories are stored as plain text in SVN or GIT and made immediately available to the development and test teams
  3. The development and test teams create a few executable padder files, wrapped around these stories, turning them into fully automatable browser tests
  4. The executable files are run, they read the stories and interact with the browser to determine if the stories successfully pass

Pretty cool, huh! No more massive team specific documents, just good old plain textual stories that are shared by all on the project, including the client.

Making this happen across multiple technologies

I am WAY TOO EXCITED to see an implementation in Java! This opens massive opportunity to progress with a technology agnostic approach. Now to find a suitable solution for .Net and perhaps PHP

Merb & Adobe Air File Uploader – Nice!

Whilst writing an Adobe Lightroom plugin to upload library items to a rails app, i spotted something i definitely need to play with! Adobe Air and Merb file uploader. Looks rather handy!

Sproutcore – 1st impressions

Today i had a short play with Sproutcore (the “Cocoa for the Web” JS framework used by and optimized by Apple for me.com) for the first time. I was a little surprised with what i found.

 

 

 

 

 

 

The Great

  • The development tools are in Ruby using the merb framework
  • The development tools adopt a Rails like MVC architectural pattern, with commands like 

sc-gen model example/contact
sc-gen controller example/detail
sc-gen view example/card

  • The development tools include build tools that prepare all JS, HTML and CSS ready to be distributed.
    sc-build
  • The development tools have a bunch of ruby (rails-style) helpers
    <%= button_view :my_button, :label => 'Here is a functioning button!' %>
The not so great
  • It doesn’t work with the latest version of Merb (0.9.9 RC1) and doesn’t appear happy even having it around (even if 0.9.4 is installed, if seems to force a removal of 0.9.9 in order to work) – Patch submitted, but only recently.
I’ll keep playing and posting what i find, plus an app or 2 as i create them.
Check out these links for more info: 

Newer Entries »