Comment on page
Testing With Codeception
Unit tests are designed to run quickly and test small portions of code that have no external dependencies. For example, testing a function that takes a
Models_Userobject and returns an array with the name, address, and email.
Integrations tests are for testing multiple units that work together. An example would be an API call to get a list of a given Learner's courses.
Functional tests will test the interaction of code that is in multiple integration tests, like a Learner's dashboard page that contains a list of courses, Message Centre, Assessments, etc.
Codeception test files are found in the
/developers/testssection of your Elentra ME development environment, and basic configuration is in
/developers/codeception.yml. Configuration for the individual kinds of tests can be found in