L20n/Tests

From MozillaWiki
Jump to: navigation, search

Overview

Xpcshell tests allow us to emulate the browser JS environment and verify that the l20n library does work.

Dependencies

You will need xpcshell.

Installation

Currently there are two tests:

  • example1 is just a demo of how UI and dynamic code can use l20n entities
  • example2 is a small unit test suite for very similar subset of features

More tests to come...