PHP Classes

File: tests/XrBuildTest.php

Recommend this page to a friend!
  Classes of Rodolfo Berrios Arce   XR PHP Debugger Online   tests/XrBuildTest.php   Download  
File: tests/XrBuildTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: XR PHP Debugger Online
Debug PHP code using a Web interface
Author: By
Last change:
Date: 2 years ago
Size: 769 bytes
 

Contents

Class file image Download
<?php

/*
 * This file is part of Chevere.
 *
 * (c) Rodolfo Berrios <rodolfo@chevere.org>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace
Chevere\Xr\Tests;

use function
Chevere\Filesystem\dirForPath;
use
Chevere\Xr\XrBuild;
use
PHPUnit\Framework\TestCase;

final class
XrBuildTest extends TestCase
{
    public function
testConstruct(): void
   
{
       
$build = new XrBuild(
           
dirForPath(__DIR__ . '/_resources/app/src'),
           
'6.6.6',
           
'ElNúmeroDeLaBestia'
       
);
       
$this->assertStringEqualsFile(
           
__DIR__ . '/_resources/app/build/index.html',
           
$build->html()
        );
    }
}