Giter Club home page Giter Club logo

pimcore-testing-framework's People

Contributors

jdreesen avatar lukadschaak avatar yariksheptykin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pimcore-testing-framework's Issues

`ResetDatabase` trait is incompatible with attributes of `ConfigurableKernelTestCase`

\Neusta\Pimcore\TestingFramework\Database\ResetDatabase::_resetDatabase tries to boot Kernel beforeClass. This is too early, as attributes for the Kernel dynamic configuration only collected in @before in _getKernelConfigurationFromAttributes. In my case, this throws errors while booting kernel about unknown fos_http_cache extension config:

There is no extension able to load the configuration for "fos_http_cache"
#[RegisterBundle(FOSHttpCacheBundle::class)]
final class EventSubscriberConfigurationTest extends ConfigurableKernelTestCase
{
    use ProphecyTrait;
    use ResetDatabase;
...

New feature: Fixture Factory

I would love to have a fixture factory like we are already using at hubahead.

I would like to create fixtures, that can also depend on other fixtures to use them in tests. In compobination with Doctrine Test Bundle, the fixtures could be removed after test via rollback.

Maybe additionally, it would be great to have an command to execute a configurable list of fixtures to create test data for our local development.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.