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 5318be6 commit f77ec3fCopy full SHA for f77ec3f
README.md
@@ -339,6 +339,28 @@ $this->assertEquals(
339
);
340
~~~
341
342
+### `DebugHelper`
343
+
344
+This trait provides helper functions, `dd()` and `d()` to dump variables.
345
346
+Import the `Kenjis\PhpUnitHelper\DebugHelper` trait into your test class:
347
348
+```php
349
+<?php
350
351
+declare(strict_types=1);
352
353
+namespace Foo\Bar\Test\Unit;
354
355
+use Kenjis\PhpUnitHelper\DebugHelper;
356
+use PHPUnit\Framework;
357
358
+final class BazTest extends Framework\TestCase
359
+{
360
+ use DebugHelper;
361
+}
362
+```
363
364
## License
365
366
This package is licensed using the MIT License.
0 commit comments