Showing posts with label testing. Show all posts
Showing posts with label testing. Show all posts

Thursday, October 8, 2009

Testoob 1.15 released

I'm very happy to announce that after nearly 3 years Testoob sees another release.

Testoob is the advanced Python test runner and testing framework that spices up any existing unittest test suite.

Changes: Version 1.15 (Oct. 2009) adds better Python 2.6, IronPython, and Jython support, as well as test coverage improvements, better color support, and some new options and bugfixes. A full list of changes is available in the release announcement.

A big shout out to Ronnie van 't Westeinde - without him this version wouldn't have been possible.

Options to install:

Sunday, October 5, 2008

QUnit and URL query string

QUnit is a really nice testing framework for JavaScript (jQuery's own framework - here's the tutorial I used).

I wanted to put some tests in the following URL:

http://localhost/tests?param1¶m2
but my tests weren't running - I kept getting:
"0 tests of 0 failed."
I learned that QUnit uses the URL query string to filter which tests to run, and in this case I don't want it to.

QUnit will run any test that has a substring-match with one of the query parameters. So "&foo&" in the URL will match tests "food" and "buffoon", and I guess this also means that the empty string will match anything. I appended a '&' to the end of the URL:

http://localhost/tests?param1¶m2&
and now QUnit runs all my tests. Sweet!