laravel-testing-tools

Laravel-specific Testing Helpers and Assertions.

MIT License

Downloads
17.4K
Stars
53
Committers
3

Bot releases are visible (Hide)

laravel-testing-tools - 10.0.0 Latest Release

Published by dmitry-ivanov 8 months ago

10.0.0 (06 Mar 2024)

Added

  • Laravel 10 support;
laravel-testing-tools - 9.6.0

Published by dmitry-ivanov about 2 years ago

9.6.0 (21 Aug 2022)

Removed

We continue to remove outdated helpers and assertions.

In this release were removed:

  • ServiceProviderAsserts
    • seeRegisteredAlias()
    • dontSeeRegisteredAlias()
    • seeRegisteredCommand()
    • dontSeeRegisteredCommand()
laravel-testing-tools - 9.5.0

Published by dmitry-ivanov about 2 years ago

9.5.0 (21 Aug 2022)

Removed

We continue to remove outdated helpers and assertions.

In this release were removed:

  • ReflectionAsserts
    • assertSubclassOf()
    • assertNotSubclassOf()
    • assertTraitUsed()
    • assertTraitNotUsed()
    • assertMethodExists()
    • assertMethodNotExists()
laravel-testing-tools - 9.4.0

Published by dmitry-ivanov about 2 years ago

9.4.0 (21 Aug 2022)

Removed

We continue to remove outdated assertions.

In this release were removed:

  • ExceptionAsserts
    • willSeeException()

Please, use the Laravel's expectException(), expectExceptionCode() and expectExceptionMessage() asserts.

laravel-testing-tools - 9.3.0

Published by dmitry-ivanov about 2 years ago

9.3.0 (21 Aug 2022)

Removed

We continue to remove outdated helpers and assertions.

In this release were removed:

  • ApplicationHelpers
    • isTravis()
  • EloquentAsserts
    • assertEloquentTableEquals()
    • assertEloquentTableNotEquals()
    • assertEloquentIsIncrementing()
    • assertEloquentIsNotIncrementing()
    • assertEloquentFillableEquals()
    • assertEloquentFillableNotEquals()
    • assertEloquentDatesEquals()
    • assertEloquentDatesNotEquals()
    • assertEloquentTouchesEquals()
    • assertEloquentTouchesNotEquals()
    • assertEloquentHasMany()
    • assertEloquentHasCreateFor()
    • assertEloquentHasCreateManyFor()
    • assertEloquentBelongsTo()
laravel-testing-tools - 9.2.0

Published by dmitry-ivanov about 2 years ago

9.2.0 (27 Jul 2022)

Removed

The laravel-testing-tools is an old package. Its first release was in 2016 when Laravel was 5.1.

Since then, the framework has evolved drastically, and some assertions became available in Laravel core.

Thus, I'll do several releases to remove such assertions in favor of using the ones provided by Laravel.

In this release were removed:

ArtisanAsserts

willSeeConfirmation() / willNotSeeConfirmation() / willGiveConfirmation() / willNotGiveConfirmation()

Please, use the expectsConfirmation() method.

seeArtisanOutput()

Please, use the expectsOutput() method.

dontSeeArtisanOutput()

Please, use the doesntExpectOutput() method.

seeInArtisanOutput()

Please, use the expectsOutputToContain() method.

dontSeeInArtisanOutput()

Please, use the doesntExpectOutputToContain() method.

seeArtisanTableOutput() / dontSeeArtisanTableOutput() / seeArtisanTableRowsCount() / dontSeeArtisanTableRowsCount()

Please, use the expectsTable() method.

ArtisanHelpers

runArtisan()

Please, use the artisan() method.

laravel-testing-tools - 9.1.0

Published by dmitry-ivanov over 2 years ago

9.1.0 (14 Mar 2022)

Added

  • Type hints and return types;
laravel-testing-tools - 9.0.0

Published by dmitry-ivanov over 2 years ago

9.0.0 (19 Feb 2022)

Added

  • Laravel 9 support;
laravel-testing-tools - 8.1.0

Published by dmitry-ivanov almost 4 years ago

8.1.0 (21 Dec 2020)

Added

  • PHP8 support;
laravel-testing-tools - 7.1.0

Published by dmitry-ivanov almost 4 years ago

7.1.0 (21 Dec 2020)

Added

  • PHP8 support;
laravel-testing-tools - 6.2.0

Published by dmitry-ivanov almost 4 years ago

6.2.0 (21 Dec 2020)

Added

  • PHP8 support;
laravel-testing-tools - 8.0.0

Published by dmitry-ivanov about 4 years ago

8.0.0 (14 Sep 2020)

Added

  • Laravel 8 support;
laravel-testing-tools - 7.0.0

Published by dmitry-ivanov over 4 years ago

7.0.0 (20 Mar 2020)

Added

  • Laravel 7 support;
laravel-testing-tools - 6.1.0

Published by dmitry-ivanov over 4 years ago

6.1.0 (15 Mar 2020)

Fixed

  • PSR-12 changes, doc-blocks added, various refactorings here and there;
laravel-testing-tools - 6.0.0

Published by dmitry-ivanov about 5 years ago

  • Laravel 6 support added;
laravel-testing-tools - 5.8.0

Published by dmitry-ivanov over 5 years ago

  • Laravel 5.8 support added
laravel-testing-tools - Release 5.7.4

Published by dmitry-ivanov about 6 years ago

  • Minor fixes;
laravel-testing-tools - Release 5.7.3

Published by dmitry-ivanov about 6 years ago

  • Git attributes added;
laravel-testing-tools - Release 5.7.2

Published by dmitry-ivanov about 6 years ago

  • Minor fixes;
laravel-testing-tools - Release 5.7.1

Published by dmitry-ivanov about 6 years ago

  • Another required install step added (because of Laravel 5.7 changes):
    $mockConsoleOutput should be also disabled for your TestCase class.
Package Rankings
Top 4.97% on Packagist.org
Badges
Extracted from project README
StyleCI Build Status Coverage Status Laravel Idea Material Theme UI Plugin
Related Projects