Skip to content

Running Tests on Windows PHPStorm #95

@KoriSeng

Description

@KoriSeng

I have an issue with running tests on windows.

When i try to run the test it will generate a call

D:\wamp64\bin\php\php7.1.7\php.exe bin/atoum.bat --use-tap-report

but it will output this

@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../vendor/atoum/atoum/bin/atoum
php "%BIN_TARGET%" %*

I think it is trying to execute the bat as a phar? because if i replace the bat with the phar it would work.

So its either suppose to run the phar with php command in the front OR just execute bin/atoum.bat without the php interpreter infront.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions