a very basic example to start with PHP and PHPUnit
you will need
- PHP with xml support for the command line:
sudo apt-get install php-cli php-xml
- PHPUnit, see https://phpunit.de/getting-started.html
run the tests with phpunit:
phpunit
run the actual script (to test if 2017 is a prime number):
php isprime.php 2017
MIT License: https://kurmis.mit-license.org