Skip to content

Commit

Permalink
reorg testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Jul 1, 2015
1 parent ee6a340 commit 4dc49f6
Show file tree
Hide file tree
Showing 85 changed files with 23 additions and 59 deletions.
4 changes: 2 additions & 2 deletions .gitignore
@@ -1,2 +1,2 @@
/tests/container/vendor
/tests/container/composer.*
/composer.lock
/vendor
14 changes: 9 additions & 5 deletions composer.json
Expand Up @@ -26,17 +26,21 @@
"Aura\\Filter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Aura\\Filter\\": "tests"
}
},
"extra": {
"aura": {
"type": "library",
"config": {
"common": "Aura\\Filter\\_Config\\Common"
}
}
},
"require-dev": {
"aura/di": "~2.0"
},
"autoload-dev": {
"psr-4": {
"Aura\\Filter\\": "tests/",
"Aura\\Di\\": "vendor/aura/di/tests/"
}
}
}
9 changes: 9 additions & 0 deletions phpunit.php
@@ -0,0 +1,9 @@
<?php
error_reporting(E_ALL);
$autoloader = __DIR__ . '/vendor/autoload.php';
if (! file_exists($autoloader)) {
echo "Composer autoloader not found: $autoloader" . PHP_EOL;
echo "Please issue 'composer install' and try again." . PHP_EOL;
exit(1);
}
require $autoloader;
4 changes: 2 additions & 2 deletions tests/container/phpunit.xml → phpunit.xml.dist
@@ -1,7 +1,7 @@
<phpunit bootstrap="./bootstrap.php">
<phpunit bootstrap="./phpunit.php">
<testsuites>
<testsuite>
<directory>./src</directory>
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
Expand Up @@ -3,7 +3,7 @@

use Aura\Di\_Config\AbstractContainerTest;

class CommonTest extends AbstractContainerTest
class ContainerTest extends AbstractContainerTest
{
protected function getConfigClasses()
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 0 additions & 18 deletions tests/container/bootstrap.php

This file was deleted.

8 changes: 0 additions & 8 deletions tests/container/phpunit.sh

This file was deleted.

16 changes: 0 additions & 16 deletions tests/unit/bootstrap.php

This file was deleted.

7 changes: 0 additions & 7 deletions tests/unit/phpunit.xml

This file was deleted.

0 comments on commit 4dc49f6

Please sign in to comment.