Skip to content

Releases: spiral/testing

2.12.0

14 Dec 08:08
09b0eb2

Choose a tag to compare

What's Changed

Full Changelog: 2.11.0...2.12.0

2.11.0

13 Aug 15:46
be28b8f

Choose a tag to compare

What's Changed

Full Changelog: 2.10.0...2.11.0

2.10.0

12 Aug 18:14
ccbc9a6

Choose a tag to compare

What's Changed

  • FakeHttp make public createJsonRequest, createRequest, handleRequest by @gam6itko in #82

Full Changelog: 2.9.1...2.10.0

2.9.1

05 May 09:32
bdc1947

Choose a tag to compare

What's Changed

Full Changelog: 2.9.0...2.9.1

2.9.0

31 Jan 20:51
d7ef7c4

Choose a tag to compare

What's Changed

  • Expose FakeHttp middleware methods by @roxblnfk in #78
    • Fixed FakeHttp::withoutMiddleware in case of scoped middleware
    • Implemented FakeHttp::withMiddleware
    • Requires Spiral 3.15+

Full Changelog: 2.8.3...2.9.0

2.8.3

12 Dec 20:03
767e903

Choose a tag to compare

What's Changed

  • Maintenance by @roxblnfk in #76
    • Fix compatibility with PHP 8.4
    • Applied Spiral Code Style
    • Better scope bindings
    • Added static analysis

Full Changelog: 2.8.2...2.8.3

2.8.2

28 Nov 20:49
37db9dc

Choose a tag to compare

What's Changed

  • Run interactive command in tests with non-interactive mode by @roxblnfk in #75

Full Changelog: 2.8.1...2.8.2

2.8.1

13 Sep 12:09
a543ce7

Choose a tag to compare

What's Changed

  • Always run HttpFaker requests in http scope by @roxblnfk in #74

New Contributors

Full Changelog: 2.8.0...2.8.1

v2.8.0

07 May 07:15
6fcd738

Choose a tag to compare

What's Changed

  • Added the ability to run tests in scope by @msmakouz in #73
use Spiral\Testing\Attribute\TestScope;
use Spiral\Testing\Tests\TestCase;

final class ExampleTest extends TestCase
{
    #[TestScope('http')]
    public function testIndexAction(): void
    {
        $response = $this->fakeHttp()->get('/');
        $response->assertOk();
    }
}

Full Changelog: 2.7.0...2.8.0

v2.7.0

22 Jan 12:10
8b279a6

Choose a tag to compare

What's Changed

  • Add compatibility with Spiral Framework 3.12.0 dispatchers by @msmakouz in #70

Full Changelog: 2.6.4...2.7.0