- Moved the framework over to the Win7 VM and is working.
- Still not sure how the classpath is managed as I added a src/Texting.php class & test/TextingTest.php threw a 'class not found' at PHPUnit runime
- Seems that running 'php composer.phar install' updates config files used by PHPUnit.
- Need to look into this as its a PITA.
- Note: Run composer.phar install often. In PHPUnit newly added classes weren't visible in the classpath until the install was run.
- xampp
- \php (7.2.9)
- cmder
- \bin\curl
- \tools\composer.phar
- git ( install in cmder )
- composer ( install in cmder )
- create composer.phar
- place in %PROJECT ROOT%
- composer.json
- create in %PROJECT ROOT%
- add dependencies, like phpunit7
- composer install
- phpunit7 ( composer.json ) gets pulled
- %PROJECT ROOT%/src
- for php classes
- %PROJECT ROOT%/tests
- for phpunit tests
- Eclipse PHP Dev Tools ( PDT )
- adds IDE PHPUnit Runner
- Log in to post comments