Skip to content
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

fix issue #43: added enhanced-overriden-template #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atulhm
Copy link
Owner

@atulhm atulhm commented Nov 1, 2016

This change should be backwards compatible. It allows a someone overriding the templates to use the same directory structure that hip test does. It allows for use of different actionwords.hbs in different context (step_defintions vs actionwords).

The only issue I found which may or may not be an easy of use design flaw is that in my use case I needed to copy the original cucumber/java/actionwords.hbs into my override folder because the wrong template was being picked up. This is not caused by my change but by the search path design.

This change should be backwards compatible.  It allows a someone overriding the templates to use the same directory structure that hip test does.  It allows for use of different actionwords.hbs in different context (step_defintions vs actionwords).

The only issue I found which may or may not be an easy of use design flaw is that in my use case I needed to copy the original cucumber/java/actionwords.hbs into my override folder because the wrong template was being picked up.  This is not caused by my change but by the search path design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant