f0ska/auto-grid-test-bundle
最新稳定版本:v2.9.0
Composer 安装命令:
composer require f0ska/auto-grid-test-bundle
包简介
This repository serves as a collection of practical examples for the AutoGrid bundle.
README 文档
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:
-
Update Database Schema:
php bin/console doctrine:schema:update --force
-
Load Test Data (Fixtures):
php bin/console doctrine:fixtures:load --append
-
Register Routes: Include the demo routes in your project's
./config/routes.yaml:f0ska_auto_grid_test: resource: '@F0skaAutoGridTestBundle/config/routes.yaml'
-
Access Demos: Open
/auto-gridin 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. -
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., inphpunit.xmlor.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 yourcomposer.jsonautoload-devsection.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-09