Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

konobi (8003)

konobi
  (email not shown publicly)

Journal of konobi (8003)

Monday March 02, 2009
12:21 AM

Vancouver.pm is alive and kicking

Hi all

I recently took over as the leader of the perl mongers group in Vancouver, BC. We had been a little on and off for a while and we've decided to always have a monthly meeting based on the advice of folks at PDX.pm. Thanks!

We'd love to have some international visitors (and we've had some before) and we're not all that far from other PM groups and perl groups up the west coast. I can promise at least some free and wonderful Canadian beer to anyone who feels like dropping up to do a talk or two. Hell, you can even bring a contingent.

Feel free to drop us an email on the mailing list or even drop us a note on our wiki.

thanks!

-konobi-
Friday April 11, 2008
12:30 PM

Test-A8N - Story Driven Development tools

NACHBAUR recently released Test-A8N to CPAN. This is a tools that we've been developing here for a while at work and thankfully Sophos have agreed to let us release this to the masses.

So, Test-A8N is a wrapper around Test-FITesque that we use to do story driven development around features that are needed in our product. To start out with, our QA persons along with our product manager decide what is needed and end up coming out with something like:

ID:     admin_creates_system_administrator_in_same_timezone

TAGS:
    - timezone

SUMMARY: |

    This test case verifies that when an admin creates a new user,
    if the admin does not specify the new user's timezone, it defaults to the same timezone as the admin.

PRECONDITIONS:
    - reset user list to: default state
    #- set system timezone to: Vancouver, Canada/Pacific

INSTRUCTIONS:

    - login:
        to page: Administrators
    - modify user:
        username: admin
        current password:    testpass
        timezone:   &test_tz Dawson Creek
    - add user:
        username: new_user
        role: helpdesk
    - logout
    - login:
        as: new_user
    - is current time in timezone: *test_tz
    - verify timezone label: "All times displayed in: (GMT-07:00) Dawson Creek"

EXPECTED:

    - After the admin changes their timezone and adds a new user, the
      default timezone displayed in the Add User popup is now the admin's
      new timezone.
    - After logging in as the newly created user,
      the log status bar displays the time in the timezone of the admin.

Now we, the developers have a good idea of what behaviour is expected from the feature. But hold on... that looks rather like... oh... it is... it's YAML.

So now we have human readable, but parsable information which we can use to automate testing this feature with (btw, A8N is shorthand for automation). Test-A8N provides the ability to slurp in YAML files and have it execute tests based on the instructions in the YAML.

For us to get "acceptance" on a story/feature, we must make sure that the automation is written, fixture classes spruced up and that all the tests pass. It's been working out great for us, working with a fleet of machines, multiple web technologies (WWW::Mech, Selenium, LWP, etc) along with controlling the fleet of machines via SSH, serial connections and more.

Hopefully someone else will find the idea useful.

ta!

--
-Scott McWhirter- | -konobi-

Sunday January 06, 2008
04:03 PM

Praise for the perl6/parrot hackers

I just want to say that the perl6/parrot hackers are doing an awesome job and I'm unbelievably thankful that they've been blogging about their progress and telling us all about the super interesting stuff they've been up to.

I'm now starting to get very excited about all of it and it's making it more and more tempting to just jump in and do stuff.

Keep up the good work guys! I hope to hack on this stuff soon!
Monday December 10, 2007
01:55 PM

Template-CTemplate

I've just uploaded a new module to the CPAN Template-CTemplate.

This is currently a fairly raw and basic set of XS bindings to googles ctemplate library. I basically hacked this up to play around with XS and C++ but it seems to have worked out well, so I've uploaded it for others to play with and test.

My C/C++/XS knowledge is pretty limited at the moment, so there's every likelihood that it'll just blow up on any serious usage, but patches are welcome, especially documentation and portability patches.

I'm currently not putting any effort at all into supporting win32, but if someone wants to make it work, lemme know (I'll be targetting OSX, Linux, FreeBSD and Solaris).

ta!

Sunday July 08, 2007
05:18 PM

Test::FITesque released!

Hey all, So I've just released Test::FITesque to the world. Test::FITesque is my take on the whole FIT/FitNesse framework, but done in a perlish manner.

Hopefully others'll find it useful for their own acceptance/integration testing.


--
-Scott McWhirter- | -konobi-