-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move tests/phpunit/Bolt tests into /tests #295
Comments
@grasmash - I'll pick this up, but I do not appear to have access to assign myself. |
@grasmash - After setting up a blt-project directory next to blt as outlined in CONTRIBUTING.md, I am able to get all the phpunit tests to pass with the exception of the drush test. However, I'm not able to actually install drupal using any of the blt commands. My setup:
Follow steps in INSTALL.md which follow
The drush site-install command results in the following error:
Notice drush root is configured to be my local path, not the Drupal VM path. However, it does correctly find the alias. If I set drush.root in project.local.yml to an empty string, the command now cannot find the alias:
|
* Moved tests in /template/tests/phpunit to /tests/phpunit. * Add autoload path for PHPUnit tests. * Move PSR-4 definition to correct autoload.. * Set correct project directory. * Add path to drushrc.php to drush.launcher option (#295) * Change PHPUnit test to look for correct config file in output. (#295) * Use --format=json on drush command for output. * Separating blt-project tests from blt tests. * Fix directory name, move setup to setUp() method. * Fix namespace, add group, move constructor to setUp(). * Add separate phpunit test calls for travis run. * Code sniffer cleanup. * Fixes to allow the tests to be run in a symlinked directory from blt-project. * Remove redundant test call.
Move tests from
template/tests/phpunit/Bolt
andtemplate/tests/phpunit/src/TestBase.php
totests/phpunit
and ensure that they continue to be executed bytemplate/.travis.yml
and pass.The text was updated successfully, but these errors were encountered: