On 5 Aug 2009, at 17:33, Michael Droettboom wrote:
> As an aside, I did find in adding these tests that I wanted to be
> able to run all tests even if some of them hard-fail. It also would
> be handy to run a single test manually. Building the tests off of
> something like nose would probably give us all that functionality
> for free.
I hadn't considered what to do if one of the tests raises an
exception. Almost certainly worth encasing it in an try/except block.
A single test can be run by using the -t argument. E.g., -t func will
run the 'func' test. Tests can be comma separated: -t func,sqrt will
run the func and sqrt tests. The -T parameter does the same, but
allows selection of specific runs (fontsets/sizes/dpis).
The -L and -l arguments can be used to list available tests.
Further, I am considering including the generated .png files in the
subversion repository. The complete set weights in at around 800kb,
which is tiny nowadays. This would make it easier for people to
perform visual comparisons and also allow for true fuzzy comparisons
of images. (Currently, only the glyph and rect lists can be fuzzy
compared.)
As an aside: 0.2 RC 1 should be released later today, with the main
improvements over 0.1 being caching and bug fixes.
Regards, Freddie.
As an aside: 0.2 RC 1 should be released later today, with the main
improvements over 0.1 being caching and bug fixes.