joomla / test-integration
This package is abandoned and no longer maintained.
No replacement package was suggested.
Joomla CMS Integration Tests
dev-master
2020-10-05 21:32 UTC
Requires
- phpunit/dbunit: ~3.0
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2020-11-05 21:44:02 UTC
README
NOTE - This repository has been archived for now.
test-integration
Integration testing package for Joomla
This repository collects and provides the automated tests, that need an installed Joomla CMS to run. In short, these tests rely on services like the database being available to integrate with.
Folder Structure
core
- Registered to Joomla's autoloader by the unit testing bootstrap file, contains all classes namedTest*
and primarily contains TestCase classes extending the PHPUnit Framework and classes to generate mock objects for several classes.schema
- This folder contains all SQL schema for setting up the environment for tests usingTestCaseDatabase
. Theddl.sql
file is used byTestCaseDatabase
to create a SQLite in-memory database which is destroyed at the end of the test cycle. The other SQL files are specific to each database vendor and require you to manually create the databases.stubs
- Contains miscellaneous test data used throughout the suite.database
- CSV files loaded by various tests to populate the database with test datadiscover*
- Stubs used withJLoaderTest
suites
- The actual test classestmp
- A temporary directory used for filesystem operations in the test suitebootstrap.php
- The testing bootstrap called when PHPUnit is run