Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Unit Test grouped by library directory
- Added configuration file phpunit.xml.dist and bootstraper-dist.php - Ignoring phpunit.xml, bootstraper.php and build/
- Loading branch information
Showing
45 changed files
with
1,195 additions
and
543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,36 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<phpunit bootstrap="test/bootstrap-dist.php" | |||
backupGlobals="false" | |||
backupStaticAttributes="false" | |||
strict="true" | |||
verbose="true"> | |||
|
|||
<selenium> | |||
<browser name="Firefox on localhost" | |||
browser="*firefox" | |||
host="127.0.0.1" | |||
port="4444" | |||
timeout="30000"/> | |||
</selenium> | |||
|
|||
<testsuites> | |||
<testsuite name="Unit"> | |||
<directory suffix="_test.php">test/libraries/core</directory> | |||
<directory suffix="_test.php">test/libraries/common</directory> | |||
<directory suffix="_test.php">test/libraries</directory> | |||
<file>test/Environment_test.php</file> | |||
</testsuite> | |||
<testsuite name="Selenium"> | |||
<directory suffix="Test.php">test/selenium</directory> | |||
</testsuite> | |||
</testsuites> | |||
|
|||
<logging> | |||
<log type="coverage-html" target="build/coverage" title="phpMyAdmin" | |||
charset="UTF-8" yui="true" highlight="true" | |||
lowUpperBound="35" highLowerBound="70"/> | |||
<log type="coverage-clover" target="build/logs/clover.xml"/> | |||
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/> | |||
</logging> | |||
|
|||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
<?php | |||
|
|||
// Adding phpMyAdmin sources to include path | |||
set_include_path(get_include_path().PATH_SEPARATOR.dirname(realpath("../index.php"))); | |||
|
|||
// Setting constants for testing | |||
define('PHPMYADMIN', 1); | |||
define('TESTSUITE', 1); | |||
|
|||
// You can put some additional code that runs before tests here | |||
|
|||
?> |
Oops, something went wrong.