Git Product home page Git Product logo

Comments (9)

mikeerickson avatar mikeerickson commented on May 12, 2024 1

peut-être! Je vais jeter un coup d'oeil ce soir

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 12, 2024

@mikeerickson Seems like of you have changed your phpunit.xml. Please show me your phpunit.xml.

from laravel-zero.

mikeerickson avatar mikeerickson commented on May 12, 2024

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.

nunomaduro avatar nunomaduro commented on May 12, 2024

Show me your bootstrap/autoload.php.

from laravel-zero.

mikeerickson avatar mikeerickson commented on May 12, 2024

@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.

nunomaduro avatar nunomaduro commented on May 12, 2024

@mikeerickson I believe you didn't specify the correct autoload on your phpstorm configuration.

from laravel-zero.

mikeerickson avatar mikeerickson commented on May 12, 2024

@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

image

from laravel-zero.

mikeerickson avatar mikeerickson commented on May 12, 2024

@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.

mikeerickson avatar mikeerickson commented on May 12, 2024

@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

image

from laravel-zero.

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.