GithubHelp home page GithubHelp logo

Comments (2)

jbonnet avatar jbonnet commented on September 27, 2024

@tsoenen
As a rule, the order of running the tests should be irrelevant (there are even some testing frameworks that force this). To facilitate/achieve this, there's usual a set-up action, ran before each test, that puts the component to be tested in a know state.

Can't we do it this way?

from son-tests.

tsoenen avatar tsoenen commented on September 27, 2024

@jbonnet

Yes, that is basically what this quick fix does. It is not as clean as your suggestion (where the cleaning of the platform is done at the start of the test, instead of running int-9 to provide a clean platform), but it fixes the test for now.

Next to making sure that the test starts from a known state, we should also address the real issue that causes this failure: it is somehow possible that our platform reaches a state where the plugins are no longer registered in the plugin manager. Whether this is caused by some standard actions that a owner/customer could do, or by some 'sonata-team admin' moves during the previous test should be checked. But if its the first, then we need to prevent this from happening. This issue shoudl remind us to fix this when we have more time (as I don't think this has the highest priority)

I added the suggestion to the original post.

from son-tests.

Related Issues (20)

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.