[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/behat/cli/ -> run.php (summary)

Wrapper to run previously set-up behat tests in parallel.

Copyright: 2014 NetSpot Pty Ltd
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 410 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 4 files
 lib/behat/classes/behat_command.php
 lib/clilib.php
 lib/behat/classes/behat_config_manager.php
 lib/behat/lib.php

Defines 4 functions

  signal_handler()
  print_process_start_info()
  print_combined_run_output()
  print_each_process_info()

Functions
Functions that are not part of a class:

signal_handler($signal)   X-Ref
Signal handler for terminal exit.

param: int $signal signal number.

print_process_start_info($processes)   X-Ref
Prints header from the first process.

param: array $processes list of processes to loop though.

print_combined_run_output($processes, $stoponfail = false)   X-Ref
Loop though all processes and print combined o/p

param: array $processes list of processes to loop though.
param: bool $stoponfail Stop all processes and exit if failed.
return: array list of exit codes from all processes.

print_each_process_info($processes, $verbose = false)   X-Ref
Loop though all processes and print combined o/p

param: array $processes list of processes to loop though.
param: bool $verbose Show verbose output for each process.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1