Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Nette Tester

Docker Stars Docker Pulls

Test your application / library in a Docker container.

Tools

  • Debian Jessie
  • PHP 5.6
  • Git
  • cURL
  • Composer

Usage

Composer

If there is a composer.json in /srv/app, composer install is called first.

Testing

On default is command tester -s -j 40 -p php /srv/app called.

docker run \
    -v /path/to/myapp:/srv/app \
    dockette/nette-tester:latest

Custom

You can modifie tester by your own. See list of variables below.

VARIABLE DEFAULT DESCRIPTION
FOLDER /srv/app string path to tests folder
SCRIPT empty string path to script with arguments
THREADS 40 number > 0
INFO empty 1
WATCH empty 1
PHP php php
docker run \
    -v /path/to/myapp:/srv/app \
    -e FOLDER='/srv/app/a/b/tests' \
    -e INFO=1 \
    -e WATCH=1 \
    -e THREADS=10 \
    -e PHP='php-cgi' \
    dockette/nette-tester:latest \
docker run \
    -v /path/to/myapp:/srv/app \
    -e SCRIPT='/srv/app/vendor/bin/tester -s -p php -j 30 /srv/app/tests' \
    dockette/nette-tester:latest

About

🐳 Nette Tester Dockerfile

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.