@@ -76,14 +76,14 @@ There are no rules for how test files must be placed. However, we recommend that
7676you establish placement rules in advance so that you can quickly understand where
7777the test files are located.
7878
79- In this document, we will place the test files corresponding to the classes in
80- the ** app ** directory in the **tests/app ** directory. To test a new library,
79+ In this document, the test files corresponding to the classes in the ** app ** directory
80+ will be placed in the **tests/app ** directory. To test a new library,
8181**app/Libraries/Foo.php **, you would create a new file at
8282**tests/app/Libraries/FooTest.php **:
8383
8484.. literalinclude :: overview/001.php
8585
86- To test one of your models, **app/Models/UserMode .php **, you might end up with
86+ To test one of your models, **app/Models/UserModel .php **, you might end up with
8787something like this in **tests/app/Models/UserModelTest.php **:
8888
8989.. literalinclude :: overview/002.php
@@ -121,7 +121,7 @@ parent as well so extended test cases do not interfere with staging:
121121Traits
122122------
123123
124- A common way to enhance your tests is by using traits to consolidate staging across different
124+ A common way to enhance your tests is using traits to consolidate staging across different
125125test cases. ``CIUnitTestCase `` will detect any class traits and look for staging methods
126126to run named for the trait itself (i.e. `setUp{NameOfTrait}() ` and `tearDown{NameOfTrait}() `).
127127
0 commit comments