Skip to content

PHP Unit Testing Framework. Simple Clutter-less Spartan Style.

License

Notifications You must be signed in to change notification settings

parf/spartan-test

Repository files navigation

SPARTAN-TEST

Minimalistic PHP 7, PHP 8 Unit Testing Framework / Web Testing Framework

Write your tests in style:

  • Very simple tests
  • Run as an executable file
  • Both unit and web testing
  • PHP code, minimal learning curve
  • Less cruft, more fun

Composer / Laravel Autoload Integration

Upon start spartan test includes bootstrap/autoload.php or vendor/autoload or init.php file from current or parent directories

You can specify your custom autoload file using "--init=$path_filename" option or via stest.config file

INSTALL (GIT)

mkdir -p ~/src ~/bin
git clone https://github.com/parf/spartan-test.git ~/src/spartan-test
ln -s ~/src/spartan-test/stest ~/bin

INSTALL (COMPOSER)

composer require parf/spartan-test
ln -s ./vendor/bin/stest ~/bin
ln -s ./vendor/bin/stest-all ~/bin
  • stest provides testing framework
  • stest-all runs all or specific tests in parallel (gnu-parallel utility required)

About

PHP Unit Testing Framework. Simple Clutter-less Spartan Style.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •