Skip to content

Plugin is not detecting tests #100

Open
@ostrolucky

Description

@ostrolucky

This issue occurs on https://github.com/hoaproject/Math. git clone it, composer install, open in phpstorm, trigger action "atoum - run all tests":

Testing started at 21:24 ...
php vendor/bin/atoum --use-tap-report

Usage: vendor/bin/atoum [path/to/test/file] [options]

Available options are:

  -h, --help                                                                Display this help

  -c <file>..., --configurations <file>...                                  Use all configuration files <file>

  -v, --version                                                             Display version

  +verbose, ++verbose                                                       Enable verbose mode

  --init <path/to/directory>                                                Create configuration and bootstrap files in <path/to/directory> (Optional, default: /Users/gostrolucky/PhpstormProjects/Math/)

  -p <path/to/php/binary>, --php <path/to/php/binary>                       Path to PHP binary which must be used to run tests

  -drt <string>, --default-report-title <string>                            Define default report title with <string>

  -sf <file>, --score-file <file>                                           Save score in file <file>

  -mcn <integer>, --max-children-number <integer>                           Maximum number of sub-processes which will be run simultaneously

  -ncc, --no-code-coverage                                                  Disable code coverage

  -nccid <directory>..., --no-code-coverage-in-directories <directory>...   Disable code coverage in directories <directory>

  -nccfns <namespace>..., --no-code-coverage-for-namespaces <namespace>...  Disable code coverage for namespaces <namespace>

  -nccfc <class>..., --no-code-coverage-for-classes <class>...              Disable code coverage for classes <class>

  -nccfm <method>..., --no-code-coverage-for-methods <method>...            Disable code coverage for methods <method>

  -ebpc, --enable-branch-and-path-coverage                                  Enable branch and path coverage

  -f <file>..., --files <file>...                                           Execute all unit test files <file>

  -d <directory>..., --directories <directory>...                           Execute unit test files in all <directory>

  -tfe <extension>..., --test-file-extensions <extension>...                Execute unit test files with one of extensions <extension>

  -g <pattern>..., --glob <pattern>...                                      Execute unit test files which match <pattern>

  -t <tag>..., --tags <tag>...                                              Execute only unit test with tags <tag>

  -m <class::method>..., --methods <class::method>...                       Execute all <class::method>, * may be used as wildcard for class name or method name

  -ns <namespace>..., --namespaces <namespace>...                           Execute all classes in all namespaces <namespace>

  -l, --loop                                                                Execute tests in an infinite loop

  --test-it                                                                 Execute atoum unit tests

  -ft, --force-terminal                                                     Force output as in terminal

  -af <file>, --autoloader-file <file>                                      Include autoloader <file> before executing each test method

  -bf <file>, --bootstrap-file <file>                                       Include bootstrap <file> before executing each test method

  -ulr, --use-light-report                                                  Use "light" CLI report

  -udr, --use-dot-report                                                    Use "dot" CLI report

  -utr, --use-tap-report                                                    Use TAP report

  --debug                                                                   Enable debug mode

  -xc, --xdebug-config                                                      Set XDEBUG_CONFIG variable

  -fivm, --fail-if-void-methods                                             Make the test suite fail if there is at least one void test method

  -fism, --fail-if-skipped-methods                                          Make the test suite fail if there is at least one skipped test method

  --filter                                                                  Filters tests to execute. For example 'not("featureA" in tags) and namespace = "foo\bar"'

Error: No test found

No tests were found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions