Closed (fixed)
Project:
Drush instance
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Apr 2014 at 09:37 UTC
Updated:
18 Sep 2014 at 10:50 UTC
Jump to comment: Most recent
Comments
Comment #1
jp.stacey commentedComment #2
jp.stacey commentedGot a basic build working using a basic (example) composer.json; single unit test working but it does need more testing (check that the sites/all/modules/views folder exists, for example.)
It could also extend GoodBuildTest and just check all the symlinks etc. Or even ReBuildTest. Or both, in two separate test files!
Comment #3
jp.stacey commentedAlso note that ComposerBuildTest seems to interfere with the other build tests (do they share folders?) so that needs fixing. All test files pass, in isolation only.
Comment #4
jp.stacey commentedWoohoo! This is implemented on 7.x-1.x-dev in fb55dbce0982d9577e2cbe0bca9a6b2f7158e52d as follows:
* composer.json now available on separate examples branch
* Build process abstracted out into classes, brought in using Drush engines
* Errors during build use exceptions
* GoodBuild and ReBuild tests abstracted out, so the same tests are run on both Composer and Make builds to ensure they both work as expected.