Skip to content

Commit 150882b

Browse files
committed
ITT: Readme fixes.
1 parent ebb4b8e commit 150882b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,24 @@ Provides Laravel-specific testing helpers and asserts.
2626
composer require illuminated/testing-tools --dev
2727
```
2828

29-
2. That's it! Now you can use any of provided traits in your test classes.
29+
2. Use `Illuminated\Testing\TestingTools` trait in your base `TestCase` class:
3030

3131
```php
32-
use Illuminated\Testing\Asserts\PageAsserts;
32+
use Illuminated\Testing\TestingTools;
3333
34-
class HomePageTest extends TestCase
34+
abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
3535
{
36-
use PageAsserts;
36+
use TestingTools;
37+
38+
// ...
39+
}
40+
```
3741

42+
3. That's it! Now you can use any of provided helpers and asserts in your test classes.
43+
44+
```php
45+
class HomePageTest extends TestCase
46+
{
3847
/** @test */
3948
public function it_shows_three_featured_products()
4049
{

0 commit comments

Comments
 (0)