LaravelPackages.net
Acme Inc.
Toggle sidebar
laratutor/nova-agile-testdox

A Laravel Nova tool to display Agile testdox.

46
0
v1.0.0
About laratutor/nova-agile-testdox

laratutor/nova-agile-testdox is a Laravel package for a laravel nova tool to display agile testdox.. It currently has 0 GitHub stars and 46 downloads on Packagist (latest version v1.0.0). Install it with composer require laratutor/nova-agile-testdox. Discover more Laravel packages by laratutor or browse all Laravel packages to compare alternatives.

Last updated

Agile Testdox for Laravel Nova

Description

See your Agile Testdox for your test as generated by PHPUnit right inside Laravel Nova!

image

Note: This assumes you have left phpunit.xml in the default place (project root) and haven't moved it.

How it works

PHPUnit will automatically generate the Testdox for you based off the class and method names. Alternatively, you can use the @testdox annotation to override the generated strings, as you can see with the "Update a post" test. You can also put the annotation on test methods. See the Agile Testdox documentation for more.

Installation

First, install the package:

composer require laratutor/nova-agile-testdox

Next, add it to the array inside the tools() method of your app/Providers/NovaServiceProvider.php:

namespace App\Providers;
...
use Laratutor\NovaAgileTestdox\NovaAgileTestdox;
...

    /**
     * Get the tools that should be listed in the Nova sidebar.
     *
     * @return array
     */
    public function tools()
    {
        return [
            new NovaAgileTestdox,
        ];
    }
Comments