Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • CommandLine
  • Job
  • PhpExecutable
  • Runner
  • TestHandler

Interfaces

  • OutputHandler
  • Overview
  • Namespace
  • Class
  • Tree

Class Job

Single test job.

Namespace: Tester\Runner
Author: David Grudl
Located at vendor/nette/tester/Tester/Runner/Job.php
Methods summary
public
# __construct( string $testFile, Tester\Runner\PhpExecutable $php, mixed $args = NULL )

Parameters

$testFile
string
test file name
$php
$args
public
# run( boolean $blocking = TRUE )

Runs single test.

Runs single test.

Parameters

$blocking
boolean
wait till process ends
public boolean
# isRunning( )

Checks if the test is still running.

Checks if the test is still running.

Returns

boolean
public string
# getFile( )

Returns test file path.

Returns test file path.

Returns

string
public string
# getArguments( )

Returns script arguments.

Returns script arguments.

Returns

string
public integer
# getExitCode( )

Returns exit code.

Returns exit code.

Returns

integer
public string
# getOutput( )

Returns test output.

Returns test output.

Returns

string
public string
# getHeaders( )

Returns output headers.

Returns output headers.

Returns

string
Constants summary
integer CODE_NONE -1
#
integer CODE_OK 0
#
integer CODE_SKIP 177
#
integer CODE_FAIL 178
#
integer CODE_ERROR 255
#
integer RUN_USLEEP 10000
#

waiting time between process activity check in microseconds

waiting time between process activity check in microseconds

API documentation generated by ApiGen 2.8.0