jonathantorres / construct

A PHP project/micro-package generator for PDS compliant projects or micro-packages.
MIT License
266 stars 16 forks source link

Revealed intent with intermediate --test-framework option. Closes #96. #98

Closed raphaelstolt closed 8 years ago

raphaelstolt commented 8 years ago

Introduced intermediate test-framework option. Option test should be removed in a future release and the short option t should than be moved to the test-frameworkoption.

raphaelstolt commented 8 years ago

Value of alias is now grabbed when not default (i.e. phpunit). We prolly should reduce the usage of magic variables (e.g. phpunit) by following the example of the InteractiveCommand or adding constants to the Defaults class.

jonathantorres commented 8 years ago

The alias seems to work, but not the value. I tried running construct generate jonathantorres/logger --test-framework=phpspec and the project was generated, but using phpunit.

raphaelstolt commented 8 years ago

Works fine for me, tried it with phpspec, behat, and codeception. :confused:

jonathantorres commented 8 years ago

Working good now! Thanks!