2017 © Pedro Peláez
 

library roma

utility to work with roma numbers.

image

codefroghub/roma

utility to work with roma numbers.

  • Wednesday, August 24, 2016
  • by SpikeDosser
  • Repository
  • 2 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ROMA

utility to work with roma numbers., (*1)

Build Status, (*2)

FROM PHPUNTI STARTER

Prerequisite

  1. PHP (https://php.net/downloads.php)
  2. Composer (https://getcomposer.org/)
  3. PHPUnit (https://phpunit.de/)

For command line use, please setup properly for global environment., (*3)

Installation

Install phpunit for project, (*4)

composer install

Folder Structures

Project/
    |-- src/    (php source code)
    |-- tests/  (Testing files)
    |-- composer.json   (Composer configuration file)
    |-- phpunit.xml     (PHPUnit configuration file)

Run PHPUnit

Run all testing files in tests/ folder with color highlight, (*5)

phpunit tests/ --colors

Basic PHP Test File

  1. Class with Test for naming convention.
  2. Test Class MUST extends PHPUnit_Framework_TestCase
  3. Method name starts with test or with annotation /** @test */
<?php

class ExampleTest extends PHPUnit_Framework_TestCase
{
    /** @test */
    public function test_feature()
    {
        // arrange

        // act

        // assert
    }
}

PHPUnit Assertions (https://phpunit.de/manual/current/en/appendixes.assertions.html), (*6)

Visit PHPUnit Manual for more information., (*7)

The Versions

24/08 2016

dev-master

9999999-dev https://github.com/CodeFrogHub/php-roma

utility to work with roma numbers.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

utility numbers util roma

24/08 2016

0.1.1

0.1.1.0 https://github.com/CodeFrogHub/php-roma

utility to work with roma numbers.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

utility numbers util roma

24/08 2016

0.1.0

0.1.0.0 https://github.com/CodeFrogHub/php-roma

utility to work with roma numbers.

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

utility numbers util roma