You are here

Functions in SimpleTest 8.3

Primary tabs

Namesort descending Location Description Direct uses Strings
hook_simpletest_alter Deprecated ./simpletest.api.php Alter the list of tests.
hook_test_finished Deprecated ./simpletest.api.php An individual test has finished.
hook_test_group_finished Deprecated ./simpletest.api.php A test group has finished.
hook_test_group_started Deprecated ./simpletest.api.php A test group has started.
simpletest_classloader_register Deprecated ./simpletest.module Registers test namespaces of all extensions and core test classes. 1
simpletest_clean_database Deprecated ./simpletest.module Removes prefixed tables from the database from crashed tests. 1
simpletest_clean_environment Deprecated ./simpletest.module Removes all temporary database tables and directories. 1 1
simpletest_clean_results_table Deprecated ./simpletest.module Clears the test result tables. 1
simpletest_clean_temporary_directories Deprecated ./simpletest.module Finds all leftover temporary directories and removes them. 1
simpletest_deprecation_test_simpletest_alter tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_simpletest_alter().
simpletest_deprecation_test_test_finished tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_test_finished().
simpletest_deprecation_test_test_group_finished tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_test_group_finished().
simpletest_deprecation_test_test_group_started tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module Implements hook_test_group_started().
simpletest_generate_file Deprecated ./simpletest.module Generates a test file. 1
simpletest_help ./simpletest.module Implements hook_help().
simpletest_insert_assert Deprecated ./simpletest.module Store an assertion from outside the testing context.
simpletest_js_alter ./simpletest.module Implements hook_js_alter().
simpletest_last_test_get Deprecated ./simpletest.module Get information about the last test that ran given a test ID.
simpletest_log_read Deprecated ./simpletest.module Reads the error log and reports any errors as assertion failures.
simpletest_phpunit_command Deprecated ./simpletest.module Returns the command to run PHPUnit. 1
simpletest_phpunit_configuration_filepath Deprecated ./simpletest.module Returns the path to core's phpunit.xml.dist configuration file. 1
simpletest_phpunit_find_testcases Deprecated ./simpletest.module Finds all test cases recursively from a test suite list. 1
simpletest_phpunit_run_command Deprecated ./simpletest.module Executes the PHPUnit command. 1
simpletest_phpunit_testcase_to_row Deprecated ./simpletest.module Converts a PHPUnit test case result to a {simpletest} result row. 1
simpletest_phpunit_xml_filepath Deprecated ./simpletest.module Returns the path to use for PHPUnit's --log-junit option. 2
simpletest_phpunit_xml_to_rows Deprecated ./simpletest.module Converts PHPUnit's JUnit XML output to an array. 1
simpletest_process_phpunit_results Deprecated ./simpletest.module Inserts the parsed PHPUnit results into {simpletest}. 1
simpletest_requirements ./simpletest.install Implements hook_requirements().
simpletest_run_phpunit_tests Deprecated ./simpletest.module Executes PHPUnit tests and returns the results of the run. 1
simpletest_run_tests ./simpletest.module Runs tests. 2
simpletest_schema ./simpletest.install Implements hook_schema().
simpletest_summarize_phpunit_result Deprecated ./simpletest.module Maps phpunit results to a data structure for batch messages and run-tests.sh. 1
simpletest_test_get_all Deprecated ./simpletest.module Gets a list of all of the tests provided by the system. 1
simpletest_theme ./simpletest.module Implements hook_theme().
simpletest_uninstall ./simpletest.install Implements hook_uninstall().
template_preprocess_simpletest_result_summary ./simpletest.module Prepares variables for simpletest result summary templates.
_simpletest_batch_finished ./simpletest.module Implements callback_batch_finished(). 1 1
_simpletest_batch_operation ./simpletest.module Implements callback_batch_operation(). 1 1
_simpletest_build_summary_line ./simpletest.module Formats each test result type pluralized summary. 2
_simpletest_format_summary_line ./simpletest.module Formats test result summaries into a comma separated string for run-tests.sh.
_simpletest_run_tests_script_open_browser Deprecated ./simpletest.module Display test results from run-tests.sh in a browser.

Other projects