We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeec543 commit cfadbc8Copy full SHA for cfadbc8
README.md
@@ -289,6 +289,22 @@ Checks if specified directory is not empty:
289
$this->assertDirectoryNotEmpty('./some/folder');
290
```
291
292
+#### `assertFilesCount()`
293
+
294
+Checks if specified directory has specified number of files:
295
296
+```php
297
+$this->assertFilesCount('./some/folder', 3);
298
+```
299
300
+#### `assertNotFilesCount()`
301
302
+Checks if specified directory not has specified number of files:
303
304
305
+$this->assertNotFilesCount('./some/folder', 5);
306
307
308
### LogFileAsserts
309
310
#### `assertLogFileExists()`
0 commit comments