Comments (9)
peut-être! Je vais jeter un coup d'oeil ce soir
from laravel-zero.
@mikeerickson Seems like of you have changed your phpunit.xml
. Please show me your phpunit.xml
.
from laravel-zero.
Here you go, the only thing added was the printer for my PHPUnitPrettyResultPrinter
project.
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="bootstrap/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Laravel Zero Test Suite">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="NunoMaduro\Collision\Adapters\Phpunit\Listener"/>
</listeners>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./app</directory>
</whitelist>
</filter>
</phpunit>
from laravel-zero.
Show me your bootstrap/autoload.php
.
from laravel-zero.
@nunomaduro I will share it later this evening or tomorrow morning (not w/ computer). Remember, it is ONLY an issue when using PHPStorm test runner, all is fine when running on CLI
from laravel-zero.
@mikeerickson I believe you didn't specify the correct autoload on your phpstorm configuration.
from laravel-zero.
@nunomaduro Nope, that was not the issue. I have confirmed the correct autoload.php
file is used AND I have recreated it for good measure
$ composer dump-autoload
from laravel-zero.
@nunomaduro And, as per your request from earlier, here is the contents of the autoload.php
file
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit724bfcfa6019cb9dfe8d59d77392f010::getLoader();
from laravel-zero.
@nunomaduro Well, for argument sake, I decided to assign the alternate items (see screenshot) and now it is working as expected
FWIW, I have not had to assign these objects in other projects, but not going to fret that now that things are working
from laravel-zero.
Related Issues (20)
- New Project doesn't work "Undefined variable $command" HOT 2
- [BUG] self-update from github releases not working HOT 1
- Cannot find sqlite database when upgrading HOT 3
- app:build ErrorException rename(app.phar, builds/app): the system cannot find the file specified (code 2) HOT 3
- Failing builds: "database/factories" and "database/seeders" was expected to exist HOT 1
- app:build gives the error: The system cannot find the file specified (code: 2) HOT 4
- Why is package auto-discovery is off ? HOT 4
- Site https://laravel-zero.com is down HOT 1
- website down/expired. Is this project still being worked on? HOT 1
- Website is down - domain expired? HOT 3
- laravel-zero.com is down HOT 1
- Website is not working anymore http://laravel-zero.com/ HOT 3
- Global Composer installation without commiting binary to version control?
- Using DB pagination methods inside a command throws an exception HOT 1
- On Windows, when running app:build "impossible find specified file" HOT 5
- QUEUES Call to undefined method Psr\Log\NullLogger::driver()
- Composer Warnings when installing pest-plugin-laravel HOT 3
- Can't update phpunit because of nunomaduro/collision version in the composer.json HOT 1
- console command suggestion
- DB related command appears when installing larastan HOT 1
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 laravel-zero.