Webylon 3.1 API Docs
  • Package
  • Class
  • Tree
  • Deprecated
  • Download
Version: current
  • 3.2
  • 3.1

Packages

  • auth
  • Booking
  • cart
    • shipping
    • steppedcheckout
  • Catalog
  • cms
    • assets
    • batchaction
    • batchactions
    • bulkloading
    • comments
    • content
    • core
    • export
    • newsletter
    • publishers
    • reports
    • security
    • tasks
  • Dashboard
  • DataObjectManager
  • event
  • faq
  • forms
    • actions
    • core
    • fields-basic
    • fields-dataless
    • fields-datetime
    • fields-files
    • fields-formatted
    • fields-formattedinput
    • fields-relational
    • fields-structural
    • transformations
    • validators
  • googlesitemaps
  • guestbook
  • installer
  • newsletter
  • None
  • photo
    • gallery
  • PHP
  • polls
  • recaptcha
  • sapphire
    • api
    • bulkloading
    • control
    • core
    • cron
    • dev
    • email
    • fields-formattedinput
    • filesystem
    • formatters
    • forms
    • i18n
    • integration
    • misc
    • model
    • parsers
    • search
    • security
    • tasks
    • testing
    • tools
    • validation
    • view
    • widgets
  • seo
    • open
      • graph
  • sfDateTimePlugin
  • spamprotection
  • stealth
    • captha
  • subsites
  • userform
    • pagetypes
  • userforms
  • webylon
  • widgets

Classes

  • CliTestReporter
  • FunctionalTest
  • InstallerTest
  • JSTestRunner
  • PHPUnit_Framework_TestCase
  • SapphireTest
  • SapphireTestReporter
  • SapphireTestSuite
  • TestRunner
  • TestSession
  • TestSession_STResponseWrapper
  • TestViewer

Interfaces

  • TestOnly

Functions

  • hasPhpUnit

Class CliTestReporter

Test reporter optimised for CLI (ie, plain-text) output

SapphireTestReporter implements PHPUnit_Framework_TestListener
Extended by CliTestReporter
Package: sapphire\testing
Located at sapphire/dev/CliTestReporter.php

Methods summary

public
# writeResults( )

Display error bar if it exists

Display error bar if it exists

Overrides

SapphireTestReporter::writeResults
public
# endTest( PHPUnit_Framework_Test $test, mixed $time )

Upon completion of a test, records the execution time (if available) and adds the test to the tests performed in the current suite.

Upon completion of a test, records the execution time (if available) and adds the test to the tests performed in the current suite.

Parameters

$test
obj PHPUnit_Framework_Test, current test that is being run
$time

Overrides

SapphireTestReporter::endTest
protected
# writeTest( mixed $test )

Methods inherited from SapphireTestReporter

__construct(), addError(), addFailure(), addIncompleteTest(), addSkippedTest(), endTestSuite(), getSuiteResults(), startTest(), startTestSuite(), testNameToPhrase()

Magic methods summary

Properties summary

Properties inherited from SapphireTestReporter

$currentSuite, $currentTest, $hasTimer, $startTestTime, $suiteResults, $testSpeeds, $timer

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -
Webylon 3.1 API Docs API documentation generated by ApiGen 2.8.0