2017 © Pedro Peláez
 

library scabbia2-testing

Scabbia2 Testing Component

image

scabbiafw/scabbia2-testing

Scabbia2 Testing Component

  • Thursday, September 24, 2015
  • by eserozvataf
  • Repository
  • 1 Watchers
  • 2 Stars
  • 283 Installations
  • PHP
  • 13 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Scabbia2 Testing Component

This component provides a code testing framework and environment. Simply execute ./vendor/bin/scabbia scabbia:testing:test to start unit tests., (*1)

Build Status Scrutinizer Code Quality Total Downloads Latest Stable Version Latest Unstable Version Documentation Status, (*2)

Usage

Writing a Test Fixture

namespace MyProject\Tests;

use Scabbia\Testing\UnitTestFixture;

class MyTest extends UnitTestFixture {
    protected $parser;

    protected function setUp() {
        $this->parser = new \Scabbia\Yaml\Parser\Parser();
    }

    protected function tearDown() {
        $this->parser = null;
    }

    public function testCase1() {
        $this->assertEquals('a', 'a');
    }

    public function testCase2() {
        $this->expectException('Scabbia\\Yaml\\ParseException');

        $this->parser->parse('/&afasda:sd|_*a');
    }
}

Contributing

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome. All contributions should be filed on the eserozvataf/scabbia2-testing repository., (*3)

  • To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
  • To report a bug: If something does not work, please report it using GitHub issues.
  • To support: Donate

The Versions

24/09 2015

dev-master

9999999-dev http://www.scabbiafw.com/

Scabbia2 Testing Component

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

testing scabbia larukedi scabbia2 scabbiafw

24/09 2015

v0.1.5

0.1.5.0 http://www.scabbiafw.com/

Scabbia2 Testing Component

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

testing scabbia larukedi scabbia2 scabbiafw