Comments (7)
@andreasnrb Can you give more details about exactly what you would like here?
from wplib-box.
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.
I think this should be left to the individual developer.
from wplib-box.
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.
So @clubdeuce and I discussed this and we came up with the following:
- PHPUnit should be installed per project using Composer to ensure project-level compatibility,
- However, WPLib Box should run unit tests on Git commit, and
- 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.
@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.
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)
- Collect list of issues that could cause WPLib Box not to work
- Consider supporting Google's QUIC protocol
- Consider supporting Apache Guacamole for VS Code, etc.
- Add Git Server option with Gitea
- Explore adding GoReplay as a feature
- Add first class support for TypeScript
- Support for Photon?
- Create a solid usable implementation of Caddy
- Support PHPStorm Protocol Handlers
- Skeleton layout fundamentally broken. ABSPATH already set. HOT 29
- Integrate with CodeRisk
- Consider implementing Pre
- Nginx throws error with `iconv('UTF-8', 'ASCII//TRANSLIT', ...)` in PHP 7.1
- Apache container does not recognize `php_value` in .htaccess HOT 4
- Need to increase packet site in MySQL/MariaDB containers
- Increase Nginx Proxy Buffer Size
- Add support for Pickle
- Add mysql.ini in MySQL/MariaDB containers
- Cannot run `show engine innodb status` for MySQL 5.7.22
- [Bug reporting] XSS vulnerabilty in wp_kses_bad_protocol in wp-includes/kses.php (CVE-2019-20041)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wplib-box.