Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Consolidated README
Browse files Browse the repository at this point in the history
  • Loading branch information
nibra committed Sep 25, 2017
1 parent f733655 commit 92010dd
Show file tree
Hide file tree
Showing 4 changed files with 1,720 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

/vendor/
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# test-integration
Integration testing package for Joomla

## Folder Structure

* `core` - Registered to Joomla's autoloader by the unit testing bootstrap file, contains all classes named `Test*` 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 using `TestCaseDatabase`. The `ddl.sql` file is used by `TestCaseDatabase` 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 data
* `discover*` - Stubs used with `JLoaderTest`
* `suites` - The actual test classes
* `tmp` - A temporary directory used for filesystem operations in the test suite
* `bootstrap.php` - The testing bootstrap called when PHPUnit is run
Loading

0 comments on commit 92010dd

Please sign in to comment.