Coder Social home page Coder Social logo

Re-enable -b before command about fastest HOT 10 OPEN

liuggio avatar liuggio commented on June 9, 2024
Re-enable -b before command

from fastest.

Comments (10)

tarlepp avatar tarlepp commented on June 9, 2024

One way to handle this is to use phpunit.xml.dist file and define used bootstrap file there.

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

@tarlepp do you think that this #102 could be tackled with phpunit.xml.dist?

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

(or at least, if -b is already enabled in fastest, we can close this)

from fastest.

tarlepp avatar tarlepp commented on June 9, 2024

@DonCallisto currently fastest won't fail at all if phpunit.xml.dist bootstrap fails (eg. that has simple die(); on that script). And then fastest won't show any errors about any of those tests...

And this is quite annoying and really hard to actually figure out what is going on. Picture below to show this.
image

See that my bootstrap.php has die(); on line 24, and then if I run ./vendor/bin/fastest -x phpunit.xml.dist it doesn't fail at all. And actually any of those tests are really run.

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

Ok, so those seems to be two different problems:

  • Run fastest with native -b option should stop if any errors happens in before command
  • Run fastest with phpunit.xml should stop if any errors happens if bootstrap fails or stops.

In both case, this issue seems to be the same of #102; isn't it?

from fastest.

tarlepp avatar tarlepp commented on June 9, 2024

@DonCallisto yeah the outcome is the same

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

@tarlepp see #104. Please, leave any comment in that PR.
Moreover it solves only fastest -b "native" approach

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

@tarlepp ping

from fastest.

tarlepp avatar tarlepp commented on June 9, 2024

@DonCallisto it's good

from fastest.

DonCallisto avatar DonCallisto commented on June 9, 2024

Partially resolved in #104; still misses bootstrap.php fail handling

from fastest.

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.