Unit Tests

From Koha Wiki

Jump to: navigation, search
Home > Development
Home > Development > Quality Assurance Testing

Tests generally use Test::More and are kept in two folders:

  • t stands for tests on code and unit tests
  • xt stands for authoring code indentation, and sysprefs tests.

You can run a test by simply calling it with perl t/filename.t

You can run all tests by calling make test