2017 © Pedro PelĂĄez
 

project testfest

PHP TestFest tools and resources.

image

phpc/testfest

PHP TestFest tools and resources.

  • Monday, December 4, 2017
  • by phpcommunity
  • Repository
  • 17 Watchers
  • 28 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 70 Forks
  • 5 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP TestFest

Software License ![Build Status][badge-build] [Coverage Status][coverage], (*1)

Are you looking for information on PHP TestFest? Take a look at our website, where you can find details on organizing a PHP TestFest event, finding a group to participate with, being a mentor, and more: https://phptestfest.org., (*2)

If you're looking to contribute to PHP TestFest, you've come to the right place. Keep reading
, (*3)

Tools

PHP TestFest Console Application

One of the tools we're building is a console application that will make it easier to get up and running quickly with PHP TestFest and writing phpt tests. Give it a try. From a command prompt, type:, (*4)

``` bash composer create-project --stability dev phpc/testfest cd testfest/ ./bin/testfest, (*5)


### docker-phpqa Another tool, made by a common effort from PHP SĂŁo Paulo (Brazil) and PHP Dublin (Ireland), is [`docker-phpqa`](https://github.com/herdphp/docker-phpqa). The goal is to run your PHPT in multiple PHP versions with a [very simple workflow](https://phptestfest.org/tutorials/phpqa-tutorial/). ## Website The [PHP TestFest website](https://phptestfest.org) is maintained in the `docs/` directory in this repository. It is served using [GitHub Pages](https://pages.github.com/). When pull requests are merged to master, any changes to `docs/` are immediately deployed. All content may be written in GitHub-flavored Markdown and HTML. For some examples of how you may use the site theme, take a look at [Generic](https://phptestfest.org/theme-example/generic.html) (`docs/theme-example/generic.md`) and [Elements](https://phptestfest.org/theme-example/elements.html) (`docs/theme-example/elements.md`). There are a few main sections of the website where contributions are greatly needed: * [Tutorials](https://phptestfest.org/tutorials/) Take a look at other tutorials in `docs/_tutorials/` to get a feel for the format of tutorial files. Everything is in Markdown, but there's some YAML front-matter you'll need to add. Just create a new Markdown file in `docs/_tutorials/`, and you're on your way! Be sure you have permission to use any images included with your post. It's best if the images provided use a Creative Commons license or are in the Public Domain. A good place to look for free-to-use images is [Unsplash](https://unsplash.com/). * [Resources](https://phptestfest.org/resources/) To add more items to the list of resources, edit `docs/_data/resources.yml`. It's a YAML array with specific properties. Take a look at some of the other items listed there to see what properties you might need to specify. * [Participating Groups](https://phptestfest.org/groups/2017/) If your group is participating in PHP TestFest, add it to the list. Edit `docs/_data/groups/2017.yml` to add your group to the list for 2017. It's a YAML array; take a look at the properties used by some of the other groups listed to see what you can specify. * [Mentors](https://phptestfest.org/mentors/2017/) If you're interested in being a mentor to a group during PHP TestFest, feel free to add yourself to the list for 2017. Edit `docs/_data/mentors/2017.yml`, specifying any of the properties you feel are important for others to know about you. You may also note whether you're available to mentor locally, remotely, or able to travel for a group. * Other content We can also use some help filling out and maintaining the content of the following pages: * [Getting Started](https://phptestfest.org/start/) (`docs/start.md`) * [Organize a PHP TestFest Event](https://phptestfest.org/lead/) (`docs/lead.md`) * [Be a Mentor](https://phptestfest.org/mentors/) (`docs/mentors.md`) ### Testing Changes Locally There are two ways to test changes to the `docs/` directory locally: via Docker or getting all the dependencies installed on your system. #### Via Docker (preferred) ##### Configure Your Environment Firstly, make sure that you have [Docker](https://www.docker.com/) installed. Then from a command prompt, type the following commands: ``` bash git clone https://github.com/phpcommunity/phptestfest.org.git cd phptestfest.org/docs/
Previewing Changes

To preview your changes, type the following into a command prompt from the docs/ directory:, (*6)

``` bash docker run --rm -v "$PWD":/usr/src/app -p "4000:4000" phpcommunity/github-pages, (*7)


Now, you may preview the site in your web browser at `http://localhost:4000`. #### Via locally installed dependencies ##### Configure Your Environment Follow these steps to make sure you have the GitHub Pages dependencies installed: * (optional but recommended) [Install rbenv](https://github.com/rbenv/rbenv#installation) * After installing, type `rbenv install 2.3.3` at a command prompt to install Ruby version 2.3.3 with rbenv * From a command prompt, type the following commands: ``` bash git clone https://github.com/phpcommunity/phptestfest.org.git cd phptestfest.org/docs/ gem install bundler bundle install
Previewing Changes

To preview your changes, type the following into a command prompt from the docs/ directory:, (*8)

bash bundle exec jekyll serve, (*9)

Now, you may preview the site in your web browser at http://localhost:4000., (*10)

License

PHP TestFest website and tools are copyright © PHP Community Foundation and are licensed under the Apache License, Version 2.0. See LICENSE for more details., (*11)

The Versions

04/12 2017

dev-master

9999999-dev

PHP TestFest tools and resources.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

05/11 2017

dev-add-phpdf

dev-add-phpdf

PHP TestFest tools and resources.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

05/08 2017

dev-heiglandreas-patch-1

dev-heiglandreas-patch-1

PHP TestFest tools and resources.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires