f0ska/auto-grid-test-bundle

This repository serves as a collection of practical examples for the AutoGrid bundle.

Maintainers

Package info

github.com/f0ska/auto-grid-test-bundle

pkg:composer/f0ska/auto-grid-test-bundle

Statistics

Installs: 19

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.1.0 2026-04-12 18:11 UTC

README

This bundle provides a collection of practical examples and a comprehensive functional test suite for the AutoGridBundle.

Quick Setup

To run the demo application or execute the test suite, follow these steps:

  1. Update Database Schema:

    php bin/console doctrine:schema:update --force
  2. Load Test Data (Fixtures):

    php bin/console doctrine:fixtures:load --no-interaction
  3. Register Routes: Include the demo routes in your project's ./config/routes.yaml:

    f0ska_auto_grid_test:
        resource: '@F0skaAutoGridTestBundle/config/routes.yaml'
  4. Access Demos: Navigate to the /auto-grid route path in your browser.

  5. Run Tests:

    composer test

Important Notes

  • Environment Agnostic: This bundle is designed to work in any standard Symfony environment (dev, test, etc.).
  • Functional Testing: The test suite uses WebTestCase. Ensure your test environment is correctly configured with a database (e.g., in phpunit.xml or .env.test) to allow these tests to run successfully.
  • Autoloading: If you are integrating this bundle into an existing project, ensure the F0ska\AutoGridTestBundle\Tests namespace is registered in your composer.json autoload-dev section.