You can download it here, WARNING: this is a preview software.
Here is comparison of running a fairly complex 3-minute Watir test case using two versions of PRoR-191 and PRoR-186.
Ruby 1.9.1 (mingw32)
C:\sandobx>ruby -v
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32]
C:\sandobx>spec -fs lodgement_spec.rb
loading win32ole from stdlib on 1.9
Loading pages ...Cost: 1.640552
Lodgement
- [Story 123] A complete end-to-end test happy case
Finished in 171.78125 seconds
Ruby 1.8.6 (mswin32)
C:\sandobx>ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [i386-mswin32]
C:\sandobx>spec -fs lodgement_spec.rb
Loading pages ...Cost: 0.656
Lodgement
- [Story 123] A complete end-to-end test happy case
Finished in 174.983 seconds
Here are some observations:
No noticeable performance differences, as expected, as test execution time is most depend on web application server response time and browser rendering time.
Page class loading time (Ruby's require/load classes) using Ruby 1.9 is longer than in Ruby 1.8.6
I attended the CITCON 2009 Brisbane (Continuous Integration and Testing Conference) over the weekend. It is a quite good one, the format Open Space is particularly interesting.
For my impression, this is a programmer/geek oriented conference, many Apple MacBooks, a lot of twittering. A lot of mentioning of 'Java', 'Groovy', and 'Ruby'.
One key difference between automated functional test scripts and application code is their target audience. The application code is developed and maintained by programmers, while the test scripts may be developed, executed and maintained by testers, developers, business analysts and even customers (_this backed by the fact TestWise is the most used software product for projects I know using it_).
The fact is that testers, business analysts and customers generally do not possess strong programming skills, and this changes the whole paradigm. It is not hard to imagine that a 85MB download of Eclipse (a Java IDE), configuration of library path and JDK path will do to a non tech-savy tester as the first chapter of automated testing orientation program. And you might hear screaming minutes later: "What does 'compiler error' mean?".
I believe automated tests shall use interpreted/scripting languages (such as Ruby) instead of compiled languages (such as Java), maybe that's why they are called "test scripts". And as a functional test script language, it should have following characteristics:
easy to learn,
no compilation required,
non proprietary,
concise, readable syntax,
extensible syntax to use domain specific language,
The Community Edition is a complete product freely for personal use, and commercial use for up to 5 copies of software in one company or organization.
It does not have features used in project teams such as running tests against different environments, custom test suite, version control and reporting.
The term “Test Suite” in TestWise means a selected group of test files, this function (introduced since v1.2.2) gives you more controls over running tests, that is
individual test cases
all test cases in a test file
all test case in selected test files
all test cases in test files under selected folder To create a new test suite or edit existing one, select “Edit Configuration” in the drop down list on toolbar.
A window like this will show up to allow adding, removing or editing test suite. To run a test suite, click the drop down list (in the toolbar) to select it, then click
.
You might notice the “Run at line” button is disabled once a test suite is chosen, as it it not applicable. Select ‘Current File’ will enable it again.