Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
This package is possibly abandoned. Please proceed with care.

Installation Instructions

You can install the package in your Laravel Project via composer:

composer require --dev joshgaber/novaunit

Readme

Warning

Thank you to everyone who has supported, downloaded and contributed to NovaUnit over the years. This repository is no longer maintained, and has been moved to https://github.com/qvelocity/novaunit. Big shout out to @robertmarney and the team at @qvelocity for continuing this project!

NovaUnit

Latest Version on Packagist Code Coverage Scrutinizer Code Quality Total Downloads

NovaUnit is a unit-testing package for Laravel Nova, built using PHPUnit. NovaUnit provides you with assertions for Nova Actions, Lenses and Resources, so you can create great administration panels with confidence.

Installation

You can install the package in your Laravel Project via composer:

composer require --dev joshgaber/novaunit

Requirements

Usage

To access the test classes, import and use the base test traits:

class ClearLogsTest extends TestCase {
    use NovaActionTest;
}

Once you've created the mock with the initial test class, you can begin testing different aspect of the component:

$this->novaAction(ClearLogs::class)
    ->assertHasField('since_date');

For a list of available methods, see the full docs site.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email joshgaber@gmail.com instead of using the issue tracker.

Created By

Contributors

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

Back to Top
Added 5 years ago
Last updated 3 Years Ago
Version 3.1.0
Nova Version ^4.0
Composer
joshgaber/novaunit
GitHub stars 64
Packagist downloads 374,150

Favorites

1 user favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas