Archive for the ‘Technology’ Category

 

Groovy Unit Tests on Maven & Eclipse

December 27th, 2008

During our last sprint at work I got a good chance to get Groovy working for our unit tests. It took a bit of googling and trial and error, so hopefully this post will benefit others trying to do the same thing. Here’s what I did:
Set up your pom with the following dependency:

And the gmaven [...]

Read full article | Comments

GTAC2008 Videos now available

December 12th, 2008

Rather than continue my review/rant about GTAC2008, I think I’ll let you just decide for yourself since the videos are now available.
Many of them are less-than-interesting, but the following are probably worth a look.

Boosting Your Testing Productivity with Groovy – Andres AlmirayI’ve been doing a lot of this stuff with Groovy lately, more detail to [...]

Read full article | Comments

GTAC 2008 Recap - Part 2

October 29th, 2008

Advances in Automated Software Technologies, Elfriede Dustin and Marcus Borch
This started with focus on applying hardware testing techniques to software testing. Namely with regards to reusable components (citing koders.com and krugle.com). The components in question seemed to largely be toolkits that they use in testing including

STAX/STAF
Fire eye – for test data generation
VNC Robot – for [...]

Read full article | Comments

GTAC 2008 Restrospective

October 26th, 2008

I traveled to Seattle last week for this year’s Google Testing and Automation Conference. I tried to take some notes for the benefit of my own memory and others, so I’ll be posting notes and reactions to my blog over the next few days starting with this post.
As for a quick overview of this [...]

Read full article | Comments

Fork my bash profile

October 2nd, 2008

Some of you may remember my tumblr post about using a directory of configuration files in place of the standard single .profile script for setting up a Unix environment.  I’ve since refined the idea even more and started working on generalizing it for use across multiple operating systems.  And to make it even more fun [...]

Read full article | Comments

More work on Corundum

September 9th, 2008

So last night I did a little more work on Corundum (still not totally satisfied with the name).  I managed to get most of the pom stuff and JRuby dependency packaged.  Now any project that uses it just needs this simple pom file and this assembly file.  The assembly file is still a thorn in [...]

Read full article | Comments

An experiment with Maven and JRuby

August 30th, 2008

So in following with my last JRuby post, this weekend I came up with the next piece to the puzzle; how to use maven to build a self-contained jar file that runs ruby scripts.  It’s still pretty raw and lacking an interesting name, but I threw my test code up on github for now to [...]

Read full article | Comments

1 file, 1 message, 1 member

July 30th, 2008

PhillyOnRails had a business meeting tonight.  Colin gave a great intro talk on Sinatra and Trotter did the same for Ruby-debug.  Thanks to both you guys for the talks!
Before the meeting we discussed the state of the slightly-buggy mailing list and thought it would be best to move to a google group.  So I set it [...]

Read full article | Comments

Automatic iSync

July 26th, 2008

I got this from hohle, but the formatting on Jon’s post is less-than-ideal.  So here it is, reposted for easy copy/paste:
Download his applescript here.
And here’s the plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>local.isync.sync</string>
[...]

Read full article | Comments

BerkelyDB Java Edition in JRuby

July 20th, 2008

At work I’ve recently been tasked with figuring out how to backup and rename databases in the Berkeley DB store that’s in one of our middleware components.  So I thought I’d try it out in JRuby.  Getting the basics was surprisingly easy:
module J
  require 'java'
  require 'je-3.2.44.jar'
  import 'com.sleepycat.je.Environment'
  import 'com.sleepycat.je.EnvironmentConfig'
end

conf = J::EnvironmentConfig.new
env = J::Environment.new(java.io.File.new('/opt/data/bdb'), conf)

if ARGV.length == 2
  env.get_database_names.each [...]

Read full article | Comments