thymeleaf / thymeleaf-testing

Thymeleaf testing infrastructure
Apache License 2.0
77 stars 26 forks source link

Support for testing with spring beans #15

Open braheja opened 5 years ago

braheja commented 5 years ago

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 an error which is: Caused by: ognl.ExpressionSyntaxException: Malformed OGNL expression

jaideeprana commented 5 years ago

I'm also facing the same issue.