An example of simpletest tests to accompany the tutorial at http://DOCUMENTATION_PENDING/node/890654.

File

modules/examples/simpletest_example/simpletest_example.test

Classes

Namesort descending Description
SimpleTestExampleMockModuleTestCase SimpleTestExampleMockModuleTestCase allows us to demonstrate how you can use a mock module to aid in functional testing in Backdrop.
SimpleTestExampleTestCase The SimpleTestExampleTestCase is a functional test case, meaning that it actually exercises a particular sequence of actions through the web UI. The majority of core test cases are done this way, but the SimpleTest suite also provides unit tests as…
SimpleTestUnitTestExampleTestCase Although most core test cases are based on BackdropWebTestCase and are functional tests (exercising the web UI) we also have BackdropUnitTestCase, which executes much faster because a Backdrop install does not have to be one. No environment is…