This module really needs some unit tests, specially if we want to add some more features in it.

I'll be doing the first step with some base class for i18n testing.

Comments

jose reyero’s picture

Assigned: jose reyero » Unassigned

First unit tests added, many more tests needed though.

Tests for i18n can extend the Drupali18nTestCase, which does an initial install with locale + translation + i18n and has some utility functions to add new languages/translations.

jose reyero’s picture

Priority: Normal » Critical

Bumping priority, we need proper unit tests to build some API improvements.

Note: Tests for this module will run on SimpleTest 6.x-2.8 (old version).
About this see http://drupal.org/node/584596

miro_dietiker’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Component: Code » Blocks

It seems to me, automated tests are not enabled in the issue queue.
Missing this... Switching to 7.x-1.x dev where current work occurs.

jose reyero’s picture

Status: Active » Closed (fixed)

Right. But anyway we are not adding new features in 6.x anymore and 7.x has already some unit tests.

So closing this one.

miro_dietiker’s picture

Component: Blocks » Miscellaneous
Status: Closed (fixed) » Active
miro_dietiker’s picture

Status: Active » Closed (fixed)

Oops, having some stale page state here.