mirror of
https://github.com/deployphp/deployer.git
synced 2025-01-16 13:08:17 +01:00
Separate legacy and joy tests
This commit is contained in:
parent
cab76aee6b
commit
28615d075b
@ -14,6 +14,9 @@
|
||||
<testsuite name="Src">
|
||||
<directory>tests/src/</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Legacy">
|
||||
<directory>tests/legacy/</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Joy">
|
||||
<directory>tests/joy/</directory>
|
||||
</testsuite>
|
||||
|
@ -25,8 +25,8 @@ define('__FIXTURES__', __DIR__ . '/fixtures');
|
||||
define('__REPOSITORY__', __DIR__ . '/fixtures/repository');
|
||||
define('__TEMP_DIR__', sys_get_temp_dir() . '/deployer');
|
||||
|
||||
require_once __DIR__ . '/AbstractTest.php';
|
||||
require_once __DIR__ . '/JoyTest.php';
|
||||
require_once __DIR__ . '/legacy/AbstractTest.php';
|
||||
require_once __DIR__ . '/joy/JoyTest.php';
|
||||
|
||||
// Init repository
|
||||
$repository = __REPOSITORY__;
|
||||
|
@ -5,11 +5,14 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace joy;
|
||||
|
||||
use Deployer\Deployer;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Console\Application;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Tester\ApplicationTester;
|
||||
use const __TEMP_DIR__;
|
||||
|
||||
abstract class JoyTest extends TestCase
|
||||
{
|
@ -1,10 +1,13 @@
|
||||
<?php
|
||||
|
||||
/* (c) Anton Medvedev <anton@medv.io>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace joy;
|
||||
|
||||
class OnFuncTest extends JoyTest
|
||||
{
|
||||
protected function recipe(): string
|
||||
|
Loading…
x
Reference in New Issue
Block a user