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

Packages

  • 1c
    • exchange
      • catalog
  • auth
  • Booking
  • building
    • company
  • cart
    • shipping
    • steppedcheckout
  • Catalog
    • monument
  • 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

Package sapphire\testing

Classes summary

CliTestReporter Test reporter optimised for CLI (ie, plain-text) output
FunctionalTest Sapphire-specific testing object designed to support functional testing of your web app. It simulates get/post requests, form submission, and can validate resulting HTML, looking up content by CSS selector.
InstallerTest Simple controller that the installer uses to test that URL rewriting is working.
JSTestRunner Controller that executes QUnit tests via jQuery. Finds all htm/html files located in <yourmodule>/javascript/tests and includes them as iFrames.
PHPUnit_Framework_TestCase PHPUnit is a testing framework that can be installed using PEAR. It's not bundled with Sapphire, you will need to install it yourself.
SapphireTest Test case class for the Sapphire framework. Sapphire unit testing is based on PHPUnit, but provides a number of hooks into our data model that make it easier to work with.
SapphireTestReporter Gathers details about PHPUnit2 test suites as they are been executed. This does not actually format any output but simply gathers extended information about the overall results of all suites & their tests for use elsewhere.
SapphireTestSuite Light wrapper around PHPUnit_Framework_TestSuite which allows to have SapphireTestSuite::setUp() and SapphireTestSuite::tearDown() methods which are called just once per suite, not once per test method in each suite/case.
TestRunner Controller that executes PHPUnit tests.
TestSession Represents a test usage session of a web-app It will maintain session-state from request to request
TestSession_STResponseWrapper Wrapper around SS_HTTPResponse to make it look like a SimpleHTTPResposne
TestViewer Allows human reading of a test in a format suitable for agile documentation

Interfaces summary

TestOnly Classes that implement TestOnly are only to be used during testing

Functions summary

hasPhpUnit
[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.2 API Docs API documentation generated by ApiGen 2.8.0