Unless someone has the time to give the showcase application a full redesign, having small focused examples around sounds reasonable to me. Martin's valid concerns about quality assurance should indeed be well addressed by having Selenium or WebDriver tests around - which would be a good demonstration by itself on how to develop robust web applications. We could easily establish a "no release without integration / automated acceptance tests" policy for such example projects.
- René Am 7/23/12 16:26 , schrieb Dave Newton: > On Mon, Jul 23, 2012 at 10:02 AM, Łukasz Lenart wrote: > >> Good point, that's why I thought about Selenium test for that, it's >> really pain in the ass to click around the showcase app to check if >> everything is ok. It would be a good idea to have a small examples >> (more like a code snippets) to present given feature with some small >> Selenium test which will check if the example works (application >> started and the home page is accessible), the feature is working (eg. >> my own number converter converts numbers into given format). >> > > I've found the showcase app too big to be navigable. > > I think I'd rather see the examples much more self-contained, and I like > the idea of using Selenium/etc. to keep them "in-check". > > I'm not sure what that would look like in real life; there's no sense in > having them *so* granular that there's an app for every feature, but when > trying to point someone at a specific example it's a bit of a pain to dig > out the relevant snippets. > > I'll think on this a bit since I'm interested in it, and find myself trying > to gather chunks of code/config to post on SO frequently enough that this > matters to me. > > Dave > -- René Gielen http://twitter.com/rgielen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org