On Wed, Jul 23, 2014 at 10:36 AM, Dmitriy Kopylenko
<dkopyle...@unicon.net> wrote:
> CAS devs,
>
> there is a little thread here https://github.com/Jasig/cas/issues/612 about
> a possibility of switching from JSPs for CAS protocol views to a more modern
> and appropriate template technology e.g. Velocity, etc.

There's a big benefit to testing from a templating engine that doesn't
require a servlet container. I used Velocity recently for the CAS
protocol views in Shib mostly because that's what they chose, and it
was easy to port the existing JSP views to Velocity. Asserting exact
protocol responses is stupid easy with Velocity because you can inject
data into the Velocity context and render the view into a string
buffer, then assert expected against actual. That's very hard if not
impossible to do with JSP views.

So we could improve test coverage with a non-JSP view engine. I don't
see any benefit other than that.

M

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to