Skip to content

dockette/nette-tester

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published