hoeggsoftware / mule-cookbook

Chef cookbook for installing Mule ESB
Other
5 stars 8 forks source link

Added mule-test attribute to run Kitchen tests with CE or EE #36

Closed PierreBeucher closed 6 years ago

PierreBeucher commented 7 years ago

Mainly working with Mule CE and regularly contributing to this cookbook, I thought it would be useful to be able to run Kitchen tests locally with CE without requiring extra configs and workaround. Currently tests are hard-coded to run Mule EE using secrets from environment variables, preventing any external contributor from running their tests locally.

This wat any contributor can run tests locally with Mule CE by simply specifying this attribute in their .kitchen.local.yml:

attributes:
     mule-test:
       enterprise: false

This does not impact existing tests: they still use Mule EE and should run as usual.

rhoegg commented 6 years ago

Thanks, great contribution!