tienvx / mbt-examples-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Contains examples how to use MBT Bundle
Package info
github.com/tienvx/mbt-examples-bundle
Type:symfony-bundle
pkg:composer/tienvx/mbt-examples-bundle
v1.13.0
2019-10-06 03:08 UTC
Requires
- php: ^7.2
- ext-json: *
- symfony/yaml: ~4.3.0
- tienvx/mbt-bundle: ~1.13.0
Requires (Dev)
- league/flysystem-memory: ~1.0.2
- symfony/expression-language: ~4.3.0
- symfony/http-client: ~4.3.0
- symfony/maker-bundle: ~1.11.6
- symfony/panther: ~0.5.2
- symfony/security-bundle: ~4.3.0
- webmozart/assert: ~1.4.0
Conflicts
- symfony/debug: <4.0
- symfony/symfony: *
- symfony/twig-bundle: <4.0
This package is auto-updated.
Last update: 2020-06-15 09:47:47 UTC
README
ARCHIVED! The source code is moved to https://github.com/tienvx/mbt-examples
This Bundle contains examples code for MBT Bundle.
Development
Generate code
$ tests/app/bin/console make:generator model_name ClassName
$ tests/app/bin/console make:subject model_name ClassName
$ tests/app/bin/console make:reducer model_name ClassName
$ tests/app/bin/console make:reporter model_name ClassName
Clear cache
$ tests/app/bin/console cache:clear
Test model
$ # This command will open new Chrome window, navigate to https://demo.opencart.com/
$ # Don't run this too much, to save bandwidth of OpenCart's demo page
$ env PANTHER_NO_HEADLESS=1 tests/app/bin/console mbt:model:test model_name --generator random --generator-options '{"maxSteps": 20}'
License
This package is available under the MIT license.