Skip to content

Releases: dmitry-ivanov/laravel-testing-tools

10.0.0

06 Mar 15:40
Compare
Choose a tag to compare

10.0.0 (06 Mar 2024)

Added

  • Laravel 10 support;

9.6.0

21 Aug 14:32
Compare
Choose a tag to compare

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()

9.5.0

21 Aug 13:35
Compare
Choose a tag to compare

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()

9.4.0

21 Aug 12:23
Compare
Choose a tag to compare

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.

9.3.0

21 Aug 11:41
Compare
Choose a tag to compare

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()

9.2.0

27 Jul 20:29
Compare
Choose a tag to compare

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.

9.1.0

14 Mar 12:52
Compare
Choose a tag to compare

9.1.0 (14 Mar 2022)

Added

  • Type hints and return types;

9.0.0

19 Feb 13:37
Compare
Choose a tag to compare

9.0.0 (19 Feb 2022)

Added

  • Laravel 9 support;

8.1.0

21 Dec 15:10
Compare
Choose a tag to compare

8.1.0 (21 Dec 2020)

Added

  • PHP8 support;

7.1.0

21 Dec 13:17
Compare
Choose a tag to compare

7.1.0 (21 Dec 2020)

Added

  • PHP8 support;