Skip to content

Instantly share code, notes, and snippets.

@BRMatt
Created April 26, 2011 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BRMatt/942092 to your computer and use it in GitHub Desktop.
Save BRMatt/942092 to your computer and use it in GitHub Desktop.
matt@matt-laptop:~$ tree /usr/share/php/PHPUnit/
/usr/share/php/PHPUnit/
├── Autoload.php
├── Extensions
│   ├── Database
│   │   ├── AbstractTester.php
│   │   ├── Constraint
│   │   │   ├── DataSetIsEqual.php
│   │   │   └── TableIsEqual.php
│   │   ├── DataSet
│   │   │   ├── AbstractDataSet.php
│   │   │   ├── AbstractTableMetaData.php
│   │   │   ├── AbstractTable.php
│   │   │   ├── AbstractXmlDataSet.php
│   │   │   ├── CompositeDataSet.php
│   │   │   ├── CsvDataSet.php
│   │   │   ├── DataSetFilter.php
│   │   │   ├── DefaultDataSet.php
│   │   │   ├── DefaultTableIterator.php
│   │   │   ├── DefaultTableMetaData.php
│   │   │   ├── DefaultTable.php
│   │   │   ├── FlatXmlDataSet.php
│   │   │   ├── IDataSet.php
│   │   │   ├── IPersistable.php
│   │   │   ├── ISpec.php
│   │   │   ├── ITableIterator.php
│   │   │   ├── ITableMetaData.php
│   │   │   ├── ITable.php
│   │   │   ├── MysqlXmlDataSet.php
│   │   │   ├── Persistors
│   │   │   │   ├── Abstract.php
│   │   │   │   ├── Factory.php
│   │   │   │   ├── FlatXml.php
│   │   │   │   ├── MysqlXml.php
│   │   │   │   ├── Xml.php
│   │   │   │   └── Yaml.php
│   │   │   ├── QueryDataSet.php
│   │   │   ├── QueryTable.php
│   │   │   ├── ReplacementDataSet.php
│   │   │   ├── ReplacementTableIterator.php
│   │   │   ├── ReplacementTable.php
│   │   │   ├── Specs
│   │   │   │   ├── Csv.php
│   │   │   │   ├── DbQuery.php
│   │   │   │   ├── DbTable.php
│   │   │   │   ├── Factory.php
│   │   │   │   ├── FlatXml.php
│   │   │   │   ├── IFactory.php
│   │   │   │   ├── Xml.php
│   │   │   │   └── Yaml.php
│   │   │   ├── TableFilter.php
│   │   │   ├── TableMetaDataFilter.php
│   │   │   ├── XmlDataSet.php
│   │   │   └── YamlDataSet.php
│   │   ├── DB
│   │   │   ├── DataSet.php
│   │   │   ├── DefaultDatabaseConnection.php
│   │   │   ├── FilteredDataSet.php
│   │   │   ├── IDatabaseConnection.php
│   │   │   ├── IMetaData.php
│   │   │   ├── MetaData
│   │   │   │   ├── InformationSchema.php
│   │   │   │   ├── MySQL.php
│   │   │   │   ├── Oci.php
│   │   │   │   ├── PgSQL.php
│   │   │   │   └── Sqlite.php
│   │   │   ├── MetaData.php
│   │   │   ├── ResultSetTable.php
│   │   │   ├── TableIterator.php
│   │   │   ├── TableMetaData.php
│   │   │   └── Table.php
│   │   ├── DefaultTester.php
│   │   ├── IDatabaseListConsumer.php
│   │   ├── ITester.php
│   │   ├── Operation
│   │   │   ├── Composite.php
│   │   │   ├── DeleteAll.php
│   │   │   ├── Delete.php
│   │   │   ├── Exception.php
│   │   │   ├── Factory.php
│   │   │   ├── IDatabaseOperation.php
│   │   │   ├── Insert.php
│   │   │   ├── Null.php
│   │   │   ├── Replace.php
│   │   │   ├── RowBased.php
│   │   │   ├── Truncate.php
│   │   │   └── Update.php
│   │   ├── TestCase.php
│   │   └── UI
│   │   ├── Command.php
│   │   ├── Context.php
│   │   ├── IMedium.php
│   │   ├── IMediumPrinter.php
│   │   ├── IModeFactory.php
│   │   ├── IMode.php
│   │   ├── InvalidModeException.php
│   │   ├── Mediums
│   │   │   └── Text.php
│   │   ├── ModeFactory.php
│   │   └── Modes
│   │   ├── ExportDataSet
│   │   │   └── Arguments.php
│   │   └── ExportDataSet.php
│   ├── GroupTestSuite.php
│   ├── OutputTestCase.php
│   ├── PhptTestCase
│   │   └── Logger.php
│   ├── PhptTestCase.php
│   ├── PhptTestSuite.php
│   ├── RepeatedTest.php
│   ├── SeleniumTestCase
│   │   ├── append.php
│   │   ├── Driver.php
│   │   ├── phpunit_coverage.php
│   │   └── prepend.php
│   ├── SeleniumTestCase.php
│   ├── Story
│   │   ├── Given.php
│   │   ├── ResultPrinter
│   │   │   ├── HTML.php
│   │   │   ├── Template
│   │   │   │   ├── scenario_header.html.dist
│   │   │   │   ├── scenario.html.dist
│   │   │   │   ├── scenarios.html.dist
│   │   │   │   └── step.html.dist
│   │   │   └── Text.php
│   │   ├── ResultPrinter.php
│   │   ├── Scenario.php
│   │   ├── SeleniumTestCase.php
│   │   ├── Step.php
│   │   ├── TestCase.php
│   │   ├── Then.php
│   │   └── When.php
│   ├── TestDecorator.php
│   ├── TicketListener
│   │   ├── GitHub.php
│   │   ├── GoogleCode.php
│   │   └── Trac.php
│   └── TicketListener.php
├── Framework
│   ├── Assert
│   │   └── Functions.php
│   ├── AssertionFailedError.php
│   ├── Assert.php
│   ├── ComparisonFailure
│   │   ├── Array.php
│   │   ├── Object.php
│   │   ├── Scalar.php
│   │   ├── String.php
│   │   └── Type.php
│   ├── ComparisonFailure.php
│   ├── Constraint
│   │   ├── And.php
│   │   ├── ArrayHasKey.php
│   │   ├── Attribute.php
│   │   ├── ClassHasAttribute.php
│   │   ├── ClassHasStaticAttribute.php
│   │   ├── FileExists.php
│   │   ├── GreaterThan.php
│   │   ├── IsAnything.php
│   │   ├── IsEmpty.php
│   │   ├── IsEqual.php
│   │   ├── IsFalse.php
│   │   ├── IsIdentical.php
│   │   ├── IsInstanceOf.php
│   │   ├── IsNull.php
│   │   ├── IsTrue.php
│   │   ├── IsType.php
│   │   ├── LessThan.php
│   │   ├── Not.php
│   │   ├── ObjectHasAttribute.php
│   │   ├── Or.php
│   │   ├── PCREMatch.php
│   │   ├── StringContains.php
│   │   ├── StringEndsWith.php
│   │   ├── StringMatches.php
│   │   ├── StringStartsWith.php
│   │   ├── TraversableContainsOnly.php
│   │   ├── TraversableContains.php
│   │   └── Xor.php
│   ├── Constraint.php
│   ├── Error
│   │   ├── Notice.php
│   │   └── Warning.php
│   ├── Error.php
│   ├── Exception.php
│   ├── ExpectationFailedException.php
│   ├── IncompleteTestError.php
│   ├── IncompleteTest.php
│   ├── MockObject
│   │   ├── Builder
│   │   │   ├── Identity.php
│   │   │   ├── InvocationMocker.php
│   │   │   ├── Match.php
│   │   │   ├── MethodNameMatch.php
│   │   │   ├── Namespace.php
│   │   │   ├── ParametersMatch.php
│   │   │   └── Stub.php
│   │   ├── Generator
│   │   │   ├── mocked_class.tpl.dist
│   │   │   ├── mocked_clone.tpl.dist
│   │   │   ├── mocked_object_method.tpl.dist
│   │   │   ├── mocked_static_method.tpl.dist
│   │   │   ├── unmocked_clone.tpl.dist
│   │   │   ├── wsdl_class.tpl.dist
│   │   │   └── wsdl_method.tpl.dist
│   │   ├── Generator.php
│   │   ├── Invocation
│   │   │   ├── Object.php
│   │   │   └── Static.php
│   │   ├── InvocationMocker.php
│   │   ├── Invocation.php
│   │   ├── Invokable.php
│   │   ├── Matcher
│   │   │   ├── AnyInvokedCount.php
│   │   │   ├── AnyParameters.php
│   │   │   ├── Invocation.php
│   │   │   ├── InvokedAtIndex.php
│   │   │   ├── InvokedAtLeastOnce.php
│   │   │   ├── InvokedCount.php
│   │   │   ├── InvokedRecorder.php
│   │   │   ├── MethodName.php
│   │   │   ├── Parameters.php
│   │   │   └── StatelessInvocation.php
│   │   ├── Matcher.php
│   │   ├── MockBuilder.php
│   │   ├── MockObject.php
│   │   ├── Stub
│   │   │   ├── ConsecutiveCalls.php
│   │   │   ├── Exception.php
│   │   │   ├── MatcherCollection.php
│   │   │   ├── ReturnArgument.php
│   │   │   ├── ReturnCallback.php
│   │   │   └── Return.php
│   │   ├── Stub.php
│   │   └── Verifiable.php
│   ├── Process
│   │   └── TestCaseMethod.tpl.dist
│   ├── SelfDescribing.php
│   ├── SkippedTestError.php
│   ├── SkippedTest.php
│   ├── SkippedTestSuiteError.php
│   ├── SyntheticError.php
│   ├── TestCase.php
│   ├── TestFailure.php
│   ├── TestListener.php
│   ├── Test.php
│   ├── TestResult.php
│   ├── TestSuite
│   │   └── DataProvider.php
│   ├── TestSuite.php
│   └── Warning.php
├── Framework.php
├── Runner
│   ├── BaseTestRunner.php
│   ├── IncludePathTestCollector.php
│   ├── StandardTestSuiteLoader.php
│   ├── TestCollector.php
│   ├── TestSuiteLoader.php
│   └── Version.php
├── TextUI
│   ├── Command.php
│   ├── ResultPrinter.php
│   └── TestRunner.php
└── Util
├── Class.php
├── Configuration.php
├── DeprecatedFeature
│   └── Logger.php
├── DeprecatedFeature.php
├── Diff.php
├── ErrorHandler.php
├── Fileloader.php
├── File.php
├── Filesystem.php
├── Filter.php
├── Getopt.php
├── GlobalState.php
├── InvalidArgumentHelper.php
├── Log
│   ├── DBUS.php
│   ├── JSON.php
│   ├── JUnit.php
│   ├── TAP.php
│   └── XHProf.php
├── PHP.php
├── Printer.php
├── Skeleton
│   ├── Class.php
│   ├── Template
│   │   ├── Class.tpl.dist
│   │   ├── IncompleteTestMethod.tpl.dist
│   │   ├── Method.tpl.dist
│   │   ├── TestClass.tpl.dist
│   │   ├── TestMethodBoolStatic.tpl.dist
│   │   ├── TestMethodBool.tpl.dist
│   │   ├── TestMethodExceptionStatic.tpl.dist
│   │   ├── TestMethodException.tpl.dist
│   │   ├── TestMethodStatic.tpl.dist
│   │   └── TestMethod.tpl.dist
│   └── Test.php
├── Skeleton.php
├── TestDox
│   ├── NamePrettifier.php
│   ├── ResultPrinter
│   │   ├── HTML.php
│   │   └── Text.php
│   └── ResultPrinter.php
├── Test.php
├── TestSuiteIterator.php
├── Type.php
└── XML.php
41 directories, 269 files
matt@matt-laptop:~$ pear list -c pear.phpunit.de
Installed packages, channel pear.phpunit.de:
============================================
Package Version State
DbUnit 1.0.1 stable
File_Iterator 1.2.3 stable
PHPUnit 3.5.11 stable
PHPUnit_MockObject 1.0.8 stable
PHPUnit_Selenium 1.0.2 stable
PHP_CodeCoverage 1.0.4 stable
PHP_Timer 1.0.0 stable
PHP_TokenStream 1.0.1 stable
Text_Template 1.1.0 stable
phpcpd 1.3.2 stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment