Closed beporter closed 9 years ago
I dumped a bunch of unit and integration testing into this PR. The package tests through Travis now, both via phpunit tests against the composer installer classes, and as an "integration" test that runs as a part of the helper bash script that verifies specific actions are performed as a result of having run the installer.
Closes #6.
Also makes #5 more of an issue now since any scripts added to the
puphpet/files/
subdir will now be removed duringcomposer update
(and they aren't tracked!)3 is a bigger issue because on initial
composer install
this package will remove any existingpuphpet/**
files that may have existing (instead of leaving them alone like before.)The upshot is that this process should theoretically be quicker and less intensive than copying all of the
release/
files every time.Finally, as a side-effect, this PR introduces a much-streamlined testing process, and preps this repo for testing via Travis. (Ref:
./test/simulate-composer-install.sh -t master
)