PHP TestFest 2017 - IndyPHP Contributions
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests/examples
.gitignore
README.md

README.md

PHP TestFest 2017 - IndyPHP

Learn to support the PHP project by writing tests for PHP!

Background

PHP TestFest is a woldwide event that you can participate in through your local user group. The IndyPHP group is participating, and this is where you can contribute.

Getting Started

There are several ways you can setup your machine to begin testing PHP using the phpqa tool. The easies, by far, is to use docker-phpqa which requires you to have Docker installed on your machine.

You'll also need to configure Docker to have access to the directory where you will be writing tests locally on your machine. Just go to Docker -> Preferences -> File Sharing and click the + button to allow access.

Once you have Docker up and running, just follow the tutorial on the TestFest site to get docker-phpqa setup, and you're ready to start writing tests! The docker-phpqa GitHub repo has a handy phpt syntax guide and there are two examples of passing tests in the tests/examples directory of this repo for your reference.

Contributing

This repository is where we will be storing our group's submissions to TestFest. To add your submission:

  1. Fork and clone this repository.
  2. Create a new branch for your contributions.
  3. Create your own directory in tests/.
  4. Add your tests to your directory.
  5. Submit a pull request from your fork's branch to our master branch.

Alternatively, you can use the web-based interface to submit your contributions.

License

CC0-1.0.