Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Running PHPUnit Tests via Oil
  • Hi there,
    I have just installed Oil and tried to run the "core" group of Unit Tests using the following command:
    php oil test --group=Core
    

    I get the following error back :
    The filename, directory name, or volume label syntax is incorrect.
    

    Has anyone else experienced this problem or know what the cause could be? If I run the tests through PHPUnit:
    phpunit -c fuel/core/phpunit.xml --group Core
    

    It works fine, just can't get it to work through Oil. I'm running Windows 7. Any help would be much appreciated.
  • It's a problem in Fuel 1.0 on windows, fixed in the 1.1/develop repo by this: https://github.com/fuel/oil/commit/00044bbf80ed991c87be47ff6de7a89133ba9018
  • Thanks very much - a colleague of mine was having the same problem and he figured it was the operator used to chain commands - needs to be an & for Windows. Many thanks again.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion