Unit testing - presemt-ntnu/transglobal GitHub Wiki

Quick start

To run all tests:

$ nosetests -v test

To run all tests except those depending on external tools (e.g. taggers):

$ nosetests -v test/unit_test

Background

Many tests rely on precompiled data in test/data. This is part of the repos, so tests can run without the need for external tools such as taggers and dictionaries. If you want to recreate this data, run test/data/make.py.