oro-functional-testing
Installation
SKILL.md
OroCommerce v6.1 Functional Testing (PHPUnit)
Functional tests exercise real controllers, services, commands, APIs, and ACL rules against a real database. Oro's WebTestCase boots the kernel, manages transactional isolation, loads fixtures deterministically, and layers HTTP/grid/JSON helpers on top of Symfony's BrowserKit client.
Canonical WebTestCase
This is the reference pattern combining initClient, fixtures, isolation annotations, and HTML assertions:
<?php
namespace Acme\Bundle\DemoBundle\Tests\Functional\Controller;
use Acme\Bundle\DemoBundle\Entity\Document;
use Acme\Bundle\DemoBundle\Tests\Functional\DataFixtures\LoadDocumentData;
use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;