EnglishFrenchSpanish

OnWorks favicon

phpunit - Online in the Cloud

Run phpunit in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command phpunit that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


phpunit - PHPUnit command line interface

SYNOPSIS


phpunit [options] UnitTest [UnitTest.php]
phpunit [options] <directory>

DESCRIPTION


Code Coverage Options:

--coverage-clover <file>
Generate code coverage report in Clover XML format.

--coverage-crap4j <file>
Generate code coverage report in Crap4J XML format.

--coverage-html <dir>
Generate code coverage report in HTML format.

--coverage-php <file>
Export PHP_CodeCoverage object to file.

--coverage-text=<file>
Generate code coverage report in text format. Default: Standard output.

--coverage-xml <dir>
Generate code coverage report in PHPUnit XML format.

--whitelist <dir>
Whitelist <dir> for code coverage analysis.

Logging Options:

--log-junit <file>
Log test execution in JUnit XML format to file.

--log-tap <file>
Log test execution in TAP format to file.

--log-teamcity <file>
Log test execution in TeamCity format to file.

--log-json <file>
Log test execution in JSON format.

--testdox-html <file>
Write agile documentation in HTML format to file.

--testdox-text <file>
Write agile documentation in Text format to file.

--reverse-list
Print defects in reverse order

Test Selection Options:

--filter <pattern>
Filter which tests to run.

--testsuite <pattern>
Filter which testsuite to run.

--group ...
Only runs tests from the specified group(s).

--exclude-group ...
Exclude tests from the specified group(s).

--list-groups
List available test groups.

--test-suffix ...
Only search for test in files with specified suffix(es). Default: Test.php,.phpt

Test Execution Options:

--report-useless-tests
Be strict about tests that do not test anything.

--strict-coverage
Be strict about unintentionally covered code.

--strict-global-state
Be strict about changes to global state

--disallow-test-output
Be strict about output during tests.

--disallow-resource-usage Be strict about resource usage during small tests.

--enforce-time-limit
Enforce time limit based on test size.

--disallow-todo-tests
Disallow @todo-annotated tests.

--process-isolation
Run each test in a separate PHP process.

--no-globals-backup
Do not backup and restore $GLOBALS for each test.

--static-backup
Backup and restore static attributes for each test.

--colors=<flag>
Use colors in output ("never", "auto" or "always").

--columns <n>
Number of columns to use for progress output.

--columns max
Use maximum number of columns for progress output.

--stderr
Write to STDERR instead of STDOUT.

--stop-on-error
Stop execution upon first error.

--stop-on-failure
Stop execution upon first error or failure.

--stop-on-warning
Stop execution upon first warning.

--stop-on-risky
Stop execution upon first risky test.

--stop-on-skipped
Stop execution upon first skipped test.

--stop-on-incomplete
Stop execution upon first incomplete test.

-v|--verbose
Output more verbose information.

--debug
Display debugging information during test execution.

--loader <loader>
TestSuiteLoader implementation to use.

--repeat <times>
Runs the test(s) repeatedly.

--tap Report test execution progress in TAP format.

--teamcity
Report test execution progress in TeamCity format.

--testdox
Report test execution progress in TestDox format.

--printer <printer>
TestListener implementation to use.

Configuration Options:

--bootstrap <file>
A "bootstrap" PHP file that is run before the tests.

-c|--configuration <file> Read configuration from XML file.

--no-configuration
Ignore default configuration file (phpunit.xml).

--no-coverage
Ignore code coverage configuration.

--include-path <path(s)>
Prepend PHP's include_path with given path(s).

-d key[=value]
Sets a php.ini value.

Miscellaneous Options:

-h|--help
Prints this usage information.

--version
Prints the version and exits.

--atleast-version <min>
Checks that version is greater than min and exits.

Use phpunit online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 2
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 3
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 4
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 5
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 6
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    crlutil
    crlutil
    crlutil - List, generate, modify, or
    delete CRLs within the NSS security
    database file(s) and list, create,
    modify or delete certificates entries in
    a particul...
    Run crlutil
  • 4
    crm
    crm
    Use crm online using onworks.net
    services. ...
    Run crm
  • 5
    FvwmProxy
    FvwmProxy
    FvwmProxy - the fvwm proxy module ...
    Run FvwmProxy
  • 6
    FvwmRearrange
    FvwmRearrange
    FvwmRearrange - rearrange fvwm windows ...
    Run FvwmRearrange
  • More »

Ad