Archive for Ruby
Now we’re rocking! DSL story driven development and testing in Java!
December 9th, 2008 • 1 comment Business, Internet, Java, Productivity, Ruby, agile, software development
Tags: linkedin
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:
- The project and client team write end-user functional requirements as User Stories and Scenarios
- The stories are stored as plain text in SVN or GIT and made immediately available to the development and test teams
- The development and test teams create a few executable padder files, wrapped around these stories, turning them into fully automatable browser tests
- 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
- In Ruby, we’ve already used this parts of this approach on a live project using Cucumber (formally RSpec story runner). It worked pretty well.
- In Java, easyb seems to be the a good forward. Here’s a little more about using easyb
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!
October 29th, 2008 • Internet, Ruby, Uncategorized, software development
Tags: linkedin
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
October 14th, 2008 • 1 comment Apple, JavaScript, Ruby, software development
Tags: linkedin
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!' %>
- 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.