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

Support for custom message resolver #5

Open
Kleeven81 opened this issue Dec 9, 2013 · 1 comment
Open

Support for custom message resolver #5

Kleeven81 opened this issue Dec 9, 2013 · 1 comment

Comments

@Kleeven81
Copy link

In our project we are using a custom message resolver which we would also like to be able to use in the testing framework. Currently for each test a new TestEngineMessageResolver is created with no way to replace it with a custom implementation.

@Kleeven81
Copy link
Author

A probable easy fix would be to add a private field for an IMessageResolver with getter and setter methods. During initialisation of the TemplateEngine in execute(final ITestable testable, final TestExecutionContext context) the field could be checked and if not null the custom IMessageResolver should be used instead of the standard TestEngineMessageResolver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant