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:
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.
- reset user list to: default state
#- set system timezone to: Vancouver, Canada/Pacific
to page: Administrators
- modify user:
current password: testpass
timezone: &test_tz Dawson Creek
- add user:
- is current time in timezone: *test_tz
- verify timezone label: "All times displayed in: (GMT-07:00) Dawson Creek"
- 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
- 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.
-Scott McWhirter- | -konobi-
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).