GithubHelp home page GithubHelp logo

gildedrose-kata-php7's Introduction

Requirements

PHP 7:

This is usually bundled with your operating system, or fetchable using a package manager like apt or homebrew.

Windows users can find the latest version here: https://windows.php.net/download#php-7.3

If you want to compile from source code, that can be found here: https://www.php.net/downloads.php

Composer:

Composer is PHP's main package and dependency management tool.

It can be downloaded here: https://getcomposer.org/download/

Getting Started

To begin the kata, install the dependencies and run phpunit:

cd php7
composer install
vendor/bin/phpunit

If the "install" command does not work, try running composer update instead. This will tell composer that it has permission to look for a newer version of its dependencies.

If things are still not cooperating, you can try this extreme approach:

composer remove phpunit/phpunit
composer require phpunit/phpunit

To exercise the code outside of phpunit, for example to visually confirm that it is working, use the texttest_fixture script:

php fixtures/texttest_fixture.php

Tips

PHPUnit has a very thorough reference manual. It would be particularly useful to explore the Data Providers section.

gildedrose-kata-php7's People

Contributors

kristianmzmz avatar

Watchers

Jose E. Rodriguez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.