thymeleaf-testing
thymeleaf-testing copied to clipboard
Thymeleaf testing infrastructure
I need to set context name in my tests. As I see in WebProcessingContextBuilder:192 it is hardcoded to "/testing". Please, give opportunity to change it. Also I would be pleased...
%CONTEXT onevar = '商品' goods = #{'title': '电脑主机', 'price': 1000} %MESSAGES msg = '商品' -------------------------------------------------------------------------------------------------------------- **DefaultContextStandardTestFieldEvaluator.getValue** ``` /* * This String -> byte[] conversion is needed because java.util.Properties * did...
I am kind of new to Thymeleaf, but i spent almost one day to figure it out how to run Junit with thtest , but i getting one and the...
We are using a @Component bean with a static method in our HTML file, like text=${@util.getText()} When we run tests, the library is unable to recognize this syntax and throw...
Currently, `SpringWebProcessingContextBuilder` only allows configuring beans by means of setting the location of an XML file. But XML configuration is now on its way to deprecation so we should allow...
Ability to pass application context, servlet context, session, request and response to TestExecutor
It's currently not supported to use java config out of the box. You need to pass the mocks created from Spring to the TestExecutor which is only possible by a...
How to support the ``` [2015-04-07 11:15:37][AMV8IQ][main] [test:end][/Users/yuuji/work/website/target/test-classes/templates/index.thtest-001][327946712][KO] Test FAILED: Actual result does not match expected result. Obtained: [t:decorator="layout"> Index ] at line 3 col 126, but expected: [ Index...
In order to make more robust test for templates that have a variable output, for instance showing the current date, it would be nice to have either wildcard or pattern...
I have the problem, that I have some differences in my html at the end of a long line. The report doesn't show the difference then. I can only fix...
Enhance integration with JUnit in order to allow each thymeleaf test (`.thtest`) to be counted by JUnit as a separated test, so that execution summary figures better reflect the real...