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: 21

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.9.0 2026-05-08 14:17 UTC

This package is auto-updated.

Last update: 2026-05-08 14:26:47 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 --append
  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: Open /auto-grid in your browser. This is the main demo entry page for the default Bootstrap 5 template, with navigation to the other examples and a template switcher.

  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.