Skip to content

Commit

Permalink
Initial test gunk
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve "uru" West committed Apr 30, 2016
1 parent b990a5f commit b900231
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tests/_support/UnitTester.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php


/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class UnitTester extends \Codeception\Actor
{
use _generated\UnitTesterActions;

/**
* Define custom actions here
*/
}
18 changes: 18 additions & 0 deletions tests/_support/_generated/UnitTesterActions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php //[STAMP] 9661488e76f92bb246ca973f3ea5a704
namespace _generated;

// This class was automatically generated by build task
// You should not change it manually as it will be overwritten on next build
// @codingStandardsIgnoreFile

use Helper\Unit;

trait UnitTesterActions
{
/**
* @return \Codeception\Scenario
*/
abstract protected function getScenario();


}
15 changes: 15 additions & 0 deletions tests/unit/ChangeLogTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace RoboChangeLogTests;

use Codeception\TestCase\Test;
use RoboChangeLog\ChangeLog;

class ChangeLogTest extends Test
{
public function testSample()
{
$changeLog = new ChangeLog();
$this->assertTrue($changeLog->run());
}
}

0 comments on commit b900231

Please sign in to comment.