Comments (3)
Hi @robteifi,
Thank you for feesback, this is worth considering. Could I ask you what distribution (OS) and environment you run the tests with? From my personal experience most distributions (i.e. Debian, Ubuntu, Arch Linux and the like) usually have memory_limit
set to -1
when PHP is executed via commandline (like in most cases when running PhpSpec).
For example, debian has this defined in /etc/php/7.0/cli/php.ini
.
This is not to say that it isn't worth updating documentation so this is mentioned, I am just curious regarding the setup.
from phpspec-code-coverage.
This is on Ubuntu 16.04 installing PHP from the ppa:ondrej/php repository.
As you say the standard cli/php.ini does have memory_limit set to -1, but the phpdbg/php.ini doesn't.
from phpspec-code-coverage.
Ubuntu or debian packages that come from official ubuntu or debian repositories do not even have phpdbg specific php.ini
file as that would not be necessary:
- https://packages.ubuntu.com/xenial/amd64/php7.0-phpdbg/filelist
- https://packages.debian.org/sid/alpha/php7.2-phpdbg/filelist
phpdbg should just rely on the standard php.ini
for PHP CLI. However, custom ppas come with customisations like that which can get in the way.
I have added a mention regarding memory_limit
in the README of the project.
Thank you for feedback. Closing.
from phpspec-code-coverage.
Related Issues (17)
- [backport] Print code coverage ratio in command output HOT 1
- Ability to disable coverage generation. HOT 10
- PHPSpec v4 support HOT 5
- Should this package work with PhpSpec code generation? HOT 2
- phpunit/php-code-coverage v6 support HOT 3
- Update phpdoc comments HOT 1
- Add coding style guide and checker
- Functional / Integration tests
- Integrate with ScrutinizerCI
- `--no-coverage` argument bugfixes
- Support providing configuration parameters via CLI
- phpspec v5 HOT 3
- Wrong phpunit/php-code-coverage version requirements for version 4.0.0 HOT 1
- PHP 7+ focused release HOT 1
- Add code coverage report examples to README
- Windows based CI (appveyor)
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 phpspec-code-coverage.