athena-oss / plugin-php

Plugin for Test Automation using PHP as a development language.
https://athena-oss.github.io/plugin-php/
Apache License 2.0
12 stars 14 forks source link

Argument 'debug_host' does not exist! #19

Open antfig-olx opened 7 years ago

antfig-olx commented 7 years ago

When try to run the test suite i'm getting this error and the test don't proceed. Thanks

$ athena php browser ./tests ./tests/athena.json
       ___   __  __
      /   | / /_/ /_  ___  ____  ____ _
     / /| |/ __/ __ \/ _ \/ __ \/ __  /
    / ___ / /_/ / / /  __/ / / / /_/ /
   /_/  |_\__/_/ /_/\___/_/ /_/\__,_/
                              v0.10.1
  ==================================
  [php v0.7.2]
  ----------------------------------

[ERROR] argument 'debug_host' does not exist!

Stacktrace:
    /lib/shared/functions.argument.sh:283
    /plugins/php/bin/lib/shared/functions.sh:32
    /plugins/php/bin/variables.sh:20
    /lib/shared/functions.os.sh:273
    /lib/functions.plugin.sh:87
    /lib/functions.plugin.sh:44
    /usr/bin/athena:54
pproenca commented 7 years ago

Hey @antfig-fixeads

Does this issue still persist?

I believe the command arguments order might be the problem, you are missing the browser name:

usage: athena php browser <browser-name> <tests-directory> <config-file> [<options>...] [(<phpunit-options>|<paratest-options>)...]

It should be e.g: athena php browser firefox ./tests ./tests/athena.json