Giter VIP home page Giter VIP logo

Comments (7)

mikeschinkel avatar mikeschinkel commented on June 8, 2024

@andreasnrb Can you give more details about exactly what you would like here?

from wplib-box.

andreasnrb avatar andreasnrb commented on June 8, 2024

Well just that phpunit is installed globally on provision probably using
Composer. Which version is to be used I'm not sure. I just use the latest
personally. PHPUnit by default or not is probably a personal dev choice
though. Might be a thing people add on their own to Composer if/when they
fork the wplib repo?

2016-04-12 4:02 GMT+02:00 Mike Schinkel [email protected]:

@andreasnrb https://github.com/andreasnrb Can you give more details
about exactly what you would like here?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#25 (comment)

from wplib-box.

clubdeuce avatar clubdeuce commented on June 8, 2024

I think this should be left to the individual developer.

from wplib-box.

mikeschinkel avatar mikeschinkel commented on June 8, 2024

I am still open to the idea, but I'd like to hear from 5 or 10 other developers to see what they think and how they think having it in the box vs. just installing on the host/developer's machine would be useful.

from wplib-box.

mikeschinkel avatar mikeschinkel commented on June 8, 2024

So @clubdeuce and I discussed this and we came up with the following:

  1. PHPUnit should be installed per project using Composer to ensure project-level compatibility,
  2. However, WPLib Box should run unit tests on Git commit, and
  3. Our future command line tool should allow invoking PHP to run inside WPLib Box (the guest) and allow for output on the developer's command line (the host's command line).

We wanted to run this by everyone here and has out the requirements to make sure we have them right before we go to implement them.

from wplib-box.

mikeschinkel avatar mikeschinkel commented on June 8, 2024

@MickMakes I am revisiting this.

PHPUnit is something WPLib Box should make trivially easy. We should also make it possible to use with PhpStorm on a host machine to debug unit testing run from within the box, if at all possible (not sure, but this might help.)

from wplib-box.

mikeschinkel avatar mikeschinkel commented on June 8, 2024

The PHPUnit site includes the different versions of PHPUnit and which versions or PHP they work with, currently:

Major Version PHP Compatibility Initial Release Support
PHPUnit 8 PHP 7.2, PHP 7.3, PHP 7.4 Feb 1, 2019 Support ends on Feb 5, 2021
PHPUnit 7 PHP 7.1, PHP 7.2, PHP 7.3 Feb 2, 2018 Support ends on Feb 7, 2020
PHPUnit 6 PHP 7.0, PHP 7.1, PHP 7.2 Feb 3, 2017 Support ends on Feb 1, 2019
PHPUnit 5 PHP 5.6, PHP 7.0, PHP 7.1 Oct 2, 2015 Support ended on Feb 2, 2018

from wplib-box.

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.