@@ -12,7 +12,7 @@ provides a few that you may use directly:
12
12
* ` CodeIgniter\Test\CIUnitTestCase ` - for basic tests with no other service needs
13
13
* ` CodeIgniter\Test\CIDatabaseTestCase ` - for tests that need database access
14
14
15
- ** ci -module-tests** also provides some examples:
15
+ ** ci4 -module-tests** also provides some examples:
16
16
* ` CIModuleTests\Support\DatabaseTestCase ` - for database tests, pre-configured for migrations, seeds, and models from ** tests/_ support**
17
17
* ` CIModuleTests\Support\SessionTestCase ` - for session tests, pre-configured with a mock session driver
18
18
@@ -21,7 +21,7 @@ common to your test suites.
21
21
22
22
## Tests
23
23
24
- All tests go in the ** tests/** directory. ** ci -module-tests** provides two generic
24
+ All tests go in the ** tests/** directory. ** ci4 -module-tests** provides two generic
25
25
subfolders for you, ** unit** and ** database** - but feel free to make your own. Each test file
26
26
is a class that extends a ** Test Case** (see above) and contains methods for the individual
27
27
tests. These method names must start with the word "test" and should have descriptive names
@@ -50,7 +50,7 @@ repo by adding it to **.gitignore**.
50
50
51
51
### Session Tests
52
52
53
- Similar to database testing, ** ci -module-tests** provides a test case pre-configured
53
+ Similar to database testing, ** ci4 -module-tests** provides a test case pre-configured
54
54
with the [ mock session class] ( https://codeigniter4.github.io/userguide/testing/overview.html#mocking-services )
55
55
to make testing sessions easier:
56
56
* ** tests/_ support/SessionTestCase.php**
0 commit comments