Skip to content

Commit 948d160

Browse files
committed
ITT: Ability to use file path - readme info added.
1 parent 4d03094 commit 948d160

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ Checks if specified string is seen as artisan output:
153153
$this->seeArtisanOutput('Hello, World!');
154154
```
155155
156+
Also, path to text file containing output can be provided:
157+
158+
```php
159+
$this->seeArtisanOutput('correct.output.txt');
160+
```
161+
156162
#### `dontSeeArtisanOutput()`
157163
158164
Checks if specified string is not seen as artisan output:
@@ -161,6 +167,12 @@ Checks if specified string is not seen as artisan output:
161167
$this->dontSeeArtisanOutput('Hello, Universe!');
162168
```
163169
170+
Also, path to text file containing output can be provided:
171+
172+
```php
173+
$this->dontSeeArtisanOutput('incorrect.output.txt');
174+
```
175+
164176
#### `seeArtisanTableOutput()`
165177
166178
Checks if specified data is seen as artisan table output:

0 commit comments

Comments
 (0)