Skip to content

Releases: spiral/testing

2.8.3

12 Dec 20:03
767e903
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v2.6.4

09 Jan 07:51
03808a8
Compare
Choose a tag to compare

What's Changed

  • Fixing config modifications using an attribute by @msmakouz in #69

Full Changelog: 2.6.3...2.6.4

v2.6.3

08 Dec 05:36
9364cbc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.6.2...2.6.3

v2.6.2

26 Oct 07:54
d265fde
Compare
Choose a tag to compare

What's Changed

  • TestResponse::assertStatus display response body on assert fail by @gam6itko in #65

Full Changelog: 2.6.1...2.6.2

v2.6.1

18 Oct 07:49
59e5600
Compare
Choose a tag to compare

What's Changed

  • Remove the root directory from the filename generated by Scaffolder by @msmakouz in #64

Full Changelog: 2.6.0...2.6.1

v2.6.0

04 Oct 10:29
fdbe8f0
Compare
Choose a tag to compare

What's Changed

  • Adding the ability to use setUp and tearDown methods in traits by @msmakouz in #62
  • Synchronize Query Parameters Between ServerRequest and Uri by @butschster in #63

Full Changelog: 2.5.0...2.6.0