Skip to content

mikolajgawronski/hyperdrive-testing

 
 

Repository files navigation

Installation

To install all dependencies, run:

docker-compose run --rm composer install

To run application itself, run:

docker-compose run --rm php php index.php

To run Behat tests, run:

docker-compose run --rm php ./vendor/bin/behat

To run ECS check, run:

docker-compose run --rm php ./vendor/bin/ecs check

CLI example

The reason behind

I just wanted to check out PHP 7.4 (especially new arrow functions and typed properties), League's CLImate library, Behat testing and running entire console PHP project from Docker. It was fun.

Someday probably I'll extend the game itself, just for the fun.

About

A draft for simple cli-based game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.0%
  • Gherkin 3.0%