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
Tests cleanup #6
Conversation
import org.junit.jupiter.api.Test; | ||
import org.mockito.Mockito; | ||
|
||
class HandlebarsTemplateEngineTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the scenarios:
- incorrect syntax,
- empty fragment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you mean by incorrect syntax.
There is already test for spotting delimiters that are not HBS ones (in process_whenCustomDelimiter_expectMarkup
).
I've added one more test process_whenUndefinedHbsHelperSpotted_expectMarkup
where unknown hbs helper is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
import org.junit.jupiter.api.Test; | ||
import org.mockito.Mockito; | ||
|
||
class HandlebarsTemplateEngineTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
Description
Tests cleanup done together with Knot.x integration tests cleanup.
Motivation and Context
Moved some tests that are internal for this module from
knotx-stack
. Added missing unit test.Types of changes
Checklist:
I hereby agree to the terms of the Knot.x Contributor License Agreement.