To simulate a database in unit tests, CodeIgniter recommends using ________.
- FakeDatabase
- MockDatabase
- SimDatabase
- TestDatabase
CodeIgniter suggests using the CIUnitTestCase class and the DBUnitTestCaseTrait trait to simulate a database in unit tests. This helps in testing database interactions without affecting the actual database.
Loading...
Related Quiz
- For complex queries, Active Record Class allows method ________ to directly write parts of the SQL query.
- Custom configuration files in CodeIgniter are stored in the ________ directory.
- What does 'MVC' stand for in web development?
- The technique of _________ effectively limits SQL injection by stripping out SQL commands from user inputs.
- In OAuth 2.0, ________ is used to obtain consent from the user for accessing their resources.