2017 © Pedro Peláez
 

library qa-tools

image

ibuildings/qa-tools

  • Friday, August 25, 2017
  • by packagist@ibuildings.nl
  • Repository
  • 14 Watchers
  • 12 Stars
  • 40,355 Installations
  • PHP
  • 14 Dependents
  • 0 Suggesters
  • 7 Forks
  • 28 Open issues
  • 43 Versions
  • 1 % Grown

The README.md

Ibuildings QA Tools Build Status

A set of quality assurance tools that are easily configurable through an installer., (*1)

The QA Tools are meant to provide you with a decent base build setup, conforming to Ibuildings standards. They are not meant to provide a solution for every use case. If you want a more complex setup, you can use the resulting configurations as a base and configure it manually., (*2)

The official, full documentation can be found on our GitHub pages., (*3)

Requirements

At this moment, QA Tools requires your project to be under Git version control. Furthermore, it requires you to have a Linuxy environment with the Dash shell (sh), Ant (ant), and the common tools find, tr, and xargs in your PATH. After installing Ant, QA Tools should work on your Linux or macOS machine., (*4)

Installation

The recommended way to install the QA Tools is by using our installer:, (*5)

php -r "copy('https://raw.githubusercontent.com/ibuildingsnl/qa-tools/master/installer.php', 'qa-tools-setup.php');"
php -r "if (hash_file('SHA384', 'qa-tools-setup.php') === '2f83e895f1fda9e44334f452e9abedfde9152ba1aa95d1ea411eef0d1c96086e8d8c68909ffeaa3ec7d72de420c85287') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('qa-tools-setup.php'); } echo PHP_EOL;"
php qa-tools-setup.php
php -r "unlink('qa-tools-setup.php');"

If you want, you can use the --install-dir option for qa-tool-setup.php to indicate where QA tools should be installed. E.g., php qa-tools-setup.php --install-dir=/usr/local/bin. It is recommended you download QA tools to either your project directory or to some location that is in your PATH., (*6)

A specific version can be installed by specifying the --version option: php qa-tools-setup.php --version=3.0.0-alpha2. This is useful when installing unstable versions of QA Tools., (*7)

To see all the options of the installer, run php qa-tools-setup.php --help., (*8)

Read why we release the QA Tools as a Phar here., (*9)

Usage

```sh-session Usage: command [options] [arguments], (*10)

Available commands: configure Configure the Ibuildings QA Tools self-update Updates Ibuildings QA Tools to the latest version help Displays help for a command list Lists commands, (*11)


The `configure` subcommand will start an interactive questionnaire to help you quickly configure various QA tools to your project's testing needs. It remembers your answers, so you can easily reconfigure the tools. [![asciicast](https://asciinema.org/a/9nlu7mu2dfst8bilsmp825553.png)](https://asciinema.org/a/9nlu7mu2dfst8bilsmp825553) ## Upgrading The QA Tools Phar distributable is self-updateable in a way that is very similar to Composer. The following command will check the QA Tools' [Releases][github-qa-releases] page for the latest stable version, and replace your executable Phar: ```sh-session $ ./qa-tools.phar self-update

Contributing

The Versions