Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a simple bootstrap file to decouple the test suite from Composer.
The test case files all depend on PSR-4 autoloading, but no autoloader exists when the library is installed through (for example) a distribution package manager. Fortunately the bootstrap process is simple and this can be fixed with a single "require" statement. This commit adds a new file, test/bootstrap.php, which loads the Html2Text library. We then use this new file to bootstrap PHPUnit. The end result is that the test suite now works out-of-the-box without Composer. Running, $ phpunit should succeed from an unmodified tarball.
- Loading branch information