Giter Club home page Giter Club logo

Comments (12)

danilopolani avatar danilopolani commented on August 30, 2024 1

Currently there isn't, I think I'll add a shellSuffix parameter in the new few days. I'll update you as soon as is implemented :)

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

Alright,

I think I made a mistake, it seems that the tasks do run fine inside the integrated terminal.
The reason I thought it was the default windows's terminal ( CMD ) is the one running the tasks, is because there was no coloring.

So, the issue is the coloring doesn't show up, and I don't know why!. I am going to do some search about this issue, and will put my findings here.

Sorry for wasting your time on this.
Feel free to close this.

from vscode-yet-another-phpunit.

danilopolani avatar danilopolani commented on August 30, 2024

Ehy @rakk7 , don't worry, also I was trying to find a solution for custom shell but it was a bit of a mess. Have you enabled coloring in your phpunit.xml? For example:

<phpunit
    bootstrap="vendor/autoload.php"
    colors="true"
>

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

Yeah I did, it seems that the issue is related to Windows somehow. ( of course it is )

from vscode-yet-another-phpunit.

danilopolani avatar danilopolani commented on August 30, 2024

What if you try to run the PHPUnit command directly in a terminal of VSCode? You'll get the full command when you run a test:

Screenshot 2019-05-01 at 15 24 31

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

yeah tried that before, when running the code directly inside VSCode ( bash terminal ):

2019-05-01 170151

But, when I run the same line outside of VSCode ( bash terminal ) :

2019-05-01 171816

from vscode-yet-another-phpunit.

danilopolani avatar danilopolani commented on August 30, 2024

Oh well, then it's a VSCode issue, try to take a look here to configure colors for Git Bash on VSCode: https://stackoverflow.com/a/49059683/1973205

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

Thank you, I am going to try that.

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

Thanks for the link, that solved the issue: by adding --color=always | cat at the very end of the command line.

2019-05-01 170151

Is there is a global configuration variable that I can use, to add --color=always | cat at the very end of the command line? because --color=always | cat doesn't work If I put it in yet-phpunit.ssh.options or yet-phpunit.commandSuffix

from vscode-yet-another-phpunit.

danilopolani avatar danilopolani commented on August 30, 2024

@rakk7 I pushed an update on Marketplace with a new yet-phpunit.ssh.shellAppend option. I prefer to keep it different from commandSuffix because on SSH you may prefer to add different stuff.

Please let me know if this solves :)

from vscode-yet-another-phpunit.

rakk7 avatar rakk7 commented on August 30, 2024

@danilopolani Yes, this solved it.

Note: MS VSCode team has released Remote Development which solves all the problems I faced with SSH. So, since I am using Remote Development plugin, I don't need to configure any SSH options in vscode-yet-another-phpunit. Read more here: https://code.visualstudio.com/docs/remote/ssh#_getting-started.

from vscode-yet-another-phpunit.

danilopolani avatar danilopolani commented on August 30, 2024

@danilopolani Yes, this solved it.

Note: MS VSCode team has released Remote Development which solves all the problems I faced with SSH. So, since I am using Remote Development plugin, I don't need to configure any SSH options in vscode-yet-another-phpunit. Read more here: https://code.visualstudio.com/docs/remote/ssh#_getting-started.

Oh that's cool, didn't know they already release it (in preview tho). I think I'll add a note about this in the README, thank you for your support

from vscode-yet-another-phpunit.

Related Issues (8)

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.