Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • TestCase
  • WebTestCase
  • Overview
  • Namespace
  • Class

Class WebTestCase

Abstract test case that makes for easy functional testing of your application at the controller level.

PHPUnit_Framework_TestCase
Extended by Autarky\Testing\TestCase
Extended by Autarky\Testing\WebTestCase
Abstract
Namespace: Autarky\Testing
Located at Testing/WebTestCase.php
Methods summary
public
# setUp( )

Overrides

Autarky\Testing\TestCase::setUp()
public
# tearDown( )

Overrides

Autarky\Testing\TestCase::tearDown()
protected Symfony\Component\HttpKernel\Client
# createClient( )

Create a httpkernel\browserkit client.

Create a httpkernel\browserkit client.

Override this method if you want to provide custom parameters to the client like fake $_SERVER data, browser history or cookies.

Returns

Symfony\Component\HttpKernel\Client
Methods inherited from Autarky\Testing\TestCase
createApplication(), enableExceptionHandling()
Properties summary
protected Symfony\Component\HttpKernel\Client $client

The browserkit client instance.

The browserkit client instance.

#
Properties inherited from Autarky\Testing\TestCase
$app
Autarky Framework API documentation generated by ApiGen