Public | Automated Build

Last pushed: a year ago
Short Description
PHPSpec: A php toolset to drive emergent design by specification.
Full Description

PHPSpec Docker Container

Docker container to install and run PHPSpec.

Features

Installation / Usage

  1. Install the phpspec/phpspec container:

     $ docker pull phpspec/phpspec
    
  2. Create a phpspec.yml defining your spec suites.

     suites:
         acme_suite:
             namespace: Acme\Text
             psr4_prefix: Acme\Text
    
  3. Run PHPSpec through the PHPSpec container:

     $ docker run -v $(pwd):/app phpspec/phpspec run
    

To run, test and develop the PHPSpec Dockerfile itself, you must use the source directly:

  1. Download the source:

     $ git clone https://github.com/JulienBreux/phpspec-docker.git
    
  2. Switch to the phpspec-docker directory:

     $ cd phpspec-docker
    
  3. Build the container:

     $ docker build -t phpspec/phpspec .
    
  4. Test running the container:

     $ docker run phpspec/phpspec help
    
Docker Pull Command
Owner
phpspec
Source Repository

Comments (1)
julienbreux
2 years ago

Add 2.2.1 version.