Predictable tests

Component ID

1363566

Component name

Predictable tests

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The predictable_tests module registers minimal tests which are predictable, i.e. they always or never pass. You know which result to expect.

Here are some use cases where this module could help:

  • in demo or tutorial: try tests that passes and others that fails;
  • make sure that a continuous integration service acts as expected, i.e. test the deployment of such a service. When you deploy a continuous integration service, at first you want to be sure that it can run tests, and then that it handles "pass" and "fail" statuses. There comes predictable_tests;
  • use "quick" tests. Standards tests bundled with Drupal or simpletest are quite slow to run. So predictable_tests will save us time where you just want to know whether you can successfully run tests or not;
  • make sure there is no error in your installation. As examples, errors raised during tests could be related to Drupal or any module. Predictable_tests' tests are really minimal, so the risk to get collateral errors is minimal.